@CHIP-RTOS C Library - TCP/IP API
get_socketerror
Get last socket error. int get_socketerror ( int sd ); Parameters
sd
- Socket descriptor.
Return Value
- error code
Comments
- Returns the last error which occured on specified socket.
SC1x3/SC2x Comments- A faster dynamic linked version of this API is available starting
with @CHIP-RTOS-x86
version 1.36. This alternative API is
named get_socketerror_Dyn
. When the compilation switch
#define TCPIP_DYN_LINK_SOCK
is defined in the user application prior to including the Beck C-Library
header files, the C-Library TCPIP_Socket.H include
file redefines get_socketerror
to get_socketerror_Dyn
.
With or without this compilation switch set, the
get_socketerror_Dyn()
alternative may be called explicitly.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
| SC12 | SC13 | SC11 | SC1x3 | SC2x |
-
| V1.02 | V1.00 | V1.00 | V0.90 | V1.00 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|