www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - TCP/IP API


int FindAllOpenSockets_IP_All

Find/return information about all open sockets listed in the internal socket table. (IPv4 and IPv6)

int FindAllOpenSockets_IP_All(
                        SocketInfoIPv4v6 far * SockInfoPtr,
                        int max);

Parameters

SockInfoPtr

Output Parameter:   Pointer to an array of max SocketInfoIPv4v6 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 counts: Return value, max).

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

    SC12SC13SC11SC1x3
    n/an/an/aV0.90

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document