Embedded TCP/IP stack: Error Codes API

FNET

Embedded TCP/IP stack  4.1.0

Detailed Description

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-2018 by Andrey Butok. http://fnet.sourceforge.net