@CHIP-RTOS C Library V2.06 - TCP/IP API
Shutdown
Shutdown a socket in read,write or both directions. int shutdown ( int sd, unsigned char dir, int *error ); Parameters
sd
- Socket descriptor.
dir
- Direction: 0:read, 1:write, 2: both
error
- Output parameter: Failure
code, 0 on success.
Return Value
- 0 = success
Non-zero = Failure (see error
output parameter)
Comments
- This API function only works on TCP sockets.
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 |
-
V1.20 | V1.20 | V1.20 | V0.90 |
Supported by @CHIP-RTOS C Library since version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|