Reading or writing to it will result in a return value of 0 or -1, if the socket was closed by the remote side.
For details, please have a look to a sockets programming guide (e.g. http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html).

Regards,
Karsten

Am 01.12.2010 12:44, schrieb runjin:
How can I determine a socket was closed in lwip ?
 
2010-12-01

runjin
_______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to