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 GetUdpStatistics function retrieves the current statistics for UDP.
The SetTcpEntry function enables a developer to set the state of a specified TCP connection to MIB_TCP_STATE_DELETE_TCB.