lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE : [lwip-users] Error handling in sockets layer.


From: Frédéric BERNON
Subject: RE : [lwip-users] Error handling in sockets layer.
Date: Tue, 17 Apr 2007 14:26:02 +0200

Most of sockets should directly return an error code from errno.h (if the return value can be an error code, like in lwip_connect, lwip_bind, etc...). Some others set the global "errno" value. Last, once the socket is created, you can get an error code "per socket" using getsockopt( ...SO_ERROR...), the code you have seen in lwip_socket struct (and the getsockopt call reset the error to 0).
 
I'm not sure which function set such or such error code, but if you see any problems in error handling, send us an email...
 
 
====================================
Frédéric BERNON
HYMATOM SA
Chef de projet informatique
Microsoft Certified Professional
Tél. : +33 (0)4-67-87-61-10
Fax. : +33 (0)4-67-70-85-44
Email : address@hiddenr
Web Site : http://www.hymatom.fr
====================================
P Avant d'imprimer, penser à l'environnement
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]