RtfwGetTCPIPClientProcessIDs

RtfwGetTCPIPClientProcessIDs returns the IDs for all TCP-IP Stack client processes.

Syntax

bool RtfwGetTCPIPClientProcessIDs(
    DWORD * pProcessIDs,
    size_t * pCountElements
);

Parameters

pProcessIDs

A user-supplied array that will be filled in with the IDs currently using the RT-TCP/IP Stack.

pCountElements

The number of elements stored in parameter pProcessIDs.

Return Value

The function returns true if it succeeds. Otherwise, it returns false. Call GetLastError for additional error information.

Possible error codes:

Error Code Meaning
ERROR_INVALID_PARAMETER A specified parameter value is not valid.
RT_ERROR_SUBSYSTEM_NOT_STARTED The Subsystem is not started.
RT_ERROR_STACK_STOPPED The NAL is stopped.
RT_ERROR_TIMEOUT_QUERYING_STACK_STATUS A timeout occurred while querying for the status of the Stack.
RT_ERROR_TIMEOUT_QUERYING_STACK_CLIENT_PIDS A timeout occurred while querying for the list of Stack client PIDs.

Remarks

If the Subsystem is running when the RtfwGetLocalMemoryConfiguration API is called, the values returned by this function may differ from the values currently in use by the Subsystem.

Requirements

Minimum Required Version RTX64 4.0
Header RtfwAPI.h
Library RtfwAPI.lib

See Also:

RtfwStartNAL

RtfwStopNAL

RtfwStartTCPIPStack

RtfwStopTCPIPStack

RtfwGetNALStatus

RtfwGetTCPIPStatus

RtfwGetNALClientProcessIDs

RtfwGetNetworkInterfacesStatus

RtfwGetSubsystemStatus

RtfwStopSubsystem