[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Netconn API and nonblocking connect - how to proceed af
From: |
Marco Jakobs |
Subject: |
Re: [lwip-users] Netconn API and nonblocking connect - how to proceed after unsuccessful connection |
Date: |
Mon, 23 Jul 2012 17:32:20 +0200 |
Dear Simon,
OK, thanks for clarification ... i know how to change my code then.
BR
Marco
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Simon Goldschmidt
That doesn't work because some 2 or 3 years ago, we decided that it's safer to
not support reconnect (after having a discussion on one of the lists). If I
remember correctly, I think the argument was that calling connect() twice on a
socket did not work on some other platform and that it's just as easy to close
the socket and create a new one... And after all, that it's not a time-critical
path and so the overhead of closing and reopening would not matter...