@CHIP-RTOS C Library V2.06 - TCP/IP API
int FindAllOpenSockets
Find/return information about all open sockets
listed in 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 open sockets.
The user provided array holds the socket information
for up to max sockets (the lesser of
two counts: Return value, max).
SC1x3 Comments- Deprecated, because only IPv4 addresses can be stored
at the provided 32-bit IP address buffer in the SocketInfo
structure.
Use FindAllOpenSockets_IP_All
instead.
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 |
-
V1.10 | V1.00 | V1.00 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|