Embedded TCP/IP stack
4.7.0
|
fnet_error_t fnet_error_get | ( | void | ) |
Returns the last error that occurred.
When a particular socket function indicates that an error has occurred, this function should be called to retrieve the appropriate error code.
A successful socket function call, or a call to fnet_error_get(), does not reset the error code. To reset the error code, use the fnet_error_set() function call with error set to zero (FNET_ERR_OK).