public enum TCP_TABLE_CLASS
{
TCP_TABLE_BASIC_LISTENER,
TCP_TABLE_BASIC_CONNECTIONS,
TCP_TABLE_BASIC_ALL,
TCP_TABLE_OWNER_PID_LISTENER,
TCP_TABLE_OWNER_PID_CONNECTIONS,
TCP_TABLE_OWNER_PID_ALL,
TCP_TABLE_OWNER_MODULE_LISTENER,
TCP_TABLE_OWNER_MODULE_CONNECTIONS,
TCP_TABLE_OWNER_MODULE_ALL,
}
enum TCP_TABLE_CLASS
TCP_TABLE_BASIC_LISTENER
TCP_TABLE_BASIC_CONNECTIONS
TCP_TABLE_BASIC_ALL
TCP_TABLE_OWNER_PID_LISTENER
TCP_TABLE_OWNER_PID_CONNECTIONS
TCP_TABLE_OWNER_PID_ALL
TCP_TABLE_OWNER_MODULE_LISTENER
TCP_TABLE_OWNER_MODULE_CONNECTIONS
TCP_TABLE_OWNER_MODULE_ALL
End enum
type
TCP_TABLE_CLASS = (TCP_TABLE_BASIC_LISTENER,TCP_TABLE_BASIC_CONNECTIONS,
TCP_TABLE_BASIC_ALL,TCP_TABLE_OWNER_PID_LISTENER,
TCP_TABLE_OWNER_PID_CONNECTIONS,TCP_TABLE_OWNER_PID_ALL,
TCP_TABLE_OWNER_MODULE_LISTENER,TCP_TABLE_OWNER_MODULE_CONNECTIONS,
TCP_TABLE_OWNER_MODULE_ALL);
var
TableClass : TCP_TABLE_CLASS;
None.
Here is what these will cause to be returned
TCP_TABLE_BASIC_LISTENER
A MIB_TCPTABLE table that contains all listening (receiving only) TCP endpoints on the machine is returned to the caller.
TCP_TABLE_BASIC_CONNECTIONS
A MIB_TCPTABLE table that contains all connected TCP endpoints on the machine is returned to the caller.
TCP_TABLE_BASIC_ALL
A MIB_TCPTABLE table that contains all TCP endpoints on the machine is returned to the caller.
TCP_TABLE_OWNER_PID_LISTENER
A MIB_TCPTABLE_OWNER_PID or MIB_TCP6TABLE_OWNER_PID that contains all listening (receiving only) TCP endpoints on the machine is returned to the caller.
TCP_TABLE_OWNER_PID_CONNECTIONS
A MIB_TCPTABLE_OWNER_PID or MIB_TCP6TABLE_OWNER_PID that all connected TCP endpoints on the machine is returned to the caller.
TCP_TABLE_OWNER_PID_ALL
A MIB_TCPTABLE_OWNER_PID or MIB_TCP6TABLE_OWNER_PID that all TCP endpoints on the machine is returned to the caller.
TCP_TABLE_OWNER_MODULE_LISTENER
A MIB_TCPTABLE_OWNER_MODULE or MIB_TCP6TABLE_OWNER_MODULE that contains all listening (receiving only) TCP endpoints on the machine is returned to the caller.
TCP_TABLE_OWNER_MODULE_CONNECTIONS
A MIB_TCPTABLE_OWNER_MODULE or MIB_TCP6TABLE_OWNER_MODULE that contains all connected TCP endpoints on the machine is returned to the caller.
TCP_TABLE_OWNER_MODULE_ALL
A MIB_TCPTABLE_OWNER_MODULE or MIB_TCP6TABLE_OWNER_MODULE that contains all TCP endpoints on the machine is returned to the caller.