@CHIP-RTOS C Library V2.00 - TCP/IP API
int FindAllOpenSockets
Find/return information about all open sockets at the internal socket table. int FindAllOpenSockets(SocketInfo far * SockInfoPtr, int max); Parameters
SockInfoPtr
- Output Parameter: Pointer to an array of max
SocketInfo structures
in the user's memory space into which this API will report the socket information.
max
- Size of the array (maximum number of table entries reported).
Return Value
- Returns the number of all open sockets.
The user provided array holds the socket information
for up to max sockets (the lesser of two values counts: Return, max).
Comments
- This function is only available in @CHIP-RTOS version which contain the SNMP MIB feature.
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
This function is only available in @CHIP-RTOS version which contain the SNMP MIB feature.
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|