SetTcpEntry (Windows CE 5.0)

Send Feedback

This function sets the state of a TCP connection.

DWORDSetTcpEntry(PMIB_TCPROWpTcpRow);

Parameters

  • pTcpRow
    [in] Pointer to a MIB_TCPROW structure identifying the TCP connection to modify and specifying the new state for the TCP connection. The caller must specify values for all the members in this structure.

Return Values

Returns NO_ERROR if successful. If the function fails, it returns an error code. For a complete list of error codes, see Error Values or the SDK header file Winerror.h.

Remarks

This function operates only on active connections. Therefore, the only state to which a TCP connection can be set is MIB_TCP_STATE_ESTAB.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Iphlpapi.h.
Link Library: Iphlpapi.lib.

See Also

IP Helper Functions | MIB_TCPROW

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.