struct _TDI_CONNECTION_INFO {
ULONG State;
ULONG Event;
ULONG TransmittedTsdus;
ULONG ReceivedTsdus;
ULONG TransmissionErrors;
ULONG ReceiveErrors;
LARGE_INTEGER Throughput;
LARGE_INTEGER Delay;
ULONG SendBufferSize;
ULONG ReceiveBufferSize;
BOOLEAN Unreliable;
} TDI_CONNECTION_INFO, *PTDI_CONNECTION_INFO;
TDI_CONNECTION_INFO defines a connection query buffer for a query information request when it services the TDI_QUERY_CONNECTION_INFO query type.
Members
State
Specifies the current state of the connection.
Event
Specifies the last event the TDI driver indicates to the client.
TransmittedTsdus
Specifies the number of TSDUs transmitted on the connection.
ReceivedTsdus
Specifies the number of TSDUs received on the connection.
TransmissionErrors
Specifies the number of TSDUs that have had an error during transmission.
ReceiveErrors
Specifies the number of TSDUs that have had an error during reception.
Throughput
Specifies the estimated throughput on the connection, expressed in bytes per second. A value of zero indicates that the driver cannot calculate the throughput.
Delay
Specifies the estimated delay on the connection, expressed as a negative time. Delay is a component of the time of transmission to the remote node, which is constant regardless of packet size. The time to transmit a TSDU of size n bytes should be roughly:
time = delay + (n * throughput)
SendBufferSize
For a driver that supports internal buffering, specifies the total size, in bytes, of the send buffer.
ReceiveBufferSize
For a driver that supports internal buffering, specifies the total size, in bytes, of the receive buffer.
Unreliable
Specifies TRUE if the driver determines that the connection is unreliable. An unreliable connection is one that the driver will disconnect, or one for which sends or receives are likely to fail.