Retrieving Information About the Transmission Control Protocol and the User Datagram Protocol
IP Helper makes it possible to access information about network protocols that are used on the local computer. Use the functions described in the following paragraphs to retrieve information about the Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) on the local computer.
The GetTcpStatistics function retrieves the current statistics for TCP. For code samples involving GetTcpStatistics see Retrieving Information Using GetTcpStatistics.
The GetUdpStatistics function retrieves the current statistics for UDP.
The GetTcpTable function retrieves the TCP connection table. The GetUdpTable retrieves the UDP listener table.
The SetTcpEntry function enables a developer to set the state of a specified TCP connection to MIB_TCP_STATE_DELETE_TCB.