Embedded TCP/IP stack  3.9.4
Error Codes API

Socket error API definitions. More...

Detailed Description

Socket error API definitions.

When a socket call indicates a failure, it is possible to call the fnet_error_get() function to determine the error value.
Another way to determine the error value for a socket is to examine its SO_ERROR option.
Possible values for socket errors are defined by the fnet_error_t.

Enumerations

Functions

fnet_error_t fnet_error_get (void)
 Returns the last error that occurred. More...
 
void fnet_error_set (fnet_error_t error)
 Sets the error code. More...
 

© 2005-2017 by Andrey Butok. http://fnet.sourceforge.net