TDI_ADDRESS_IP

typedef struct _TDI_ADDRESS_IP { 
    USHORT  sin_port; 
    ULONG   in_addr; 
    UCHAR   sin_zero[8]; 
} TDI_ADDRESS_IP, *PTDI_ADDRESS_IP; 
 

TDI_ADDRESS_IP contains an IP address, packed and aligned correctly.

Members

sin_port
Specifies a TCP or UDP port number.
in_addr
Specifies the IP address.
sin_zero[8]
Specifies an array filled with zeros.

Comments

A TRANSPORT_ADDRESS structure contains a specified number of elements of type TA_ADDRESS. TDI_ADDRESS_IP defines the Address member of a TA_ADDRESS structure in which the AddressType is set to TDI_ADDRESS_TYPE_IP.

The AddressLength member(s) of the TA_ADDRESS substructure(s) can be set to the system-defined constant TDI_ADDRESS_LENGTH_IP.

See Also

TA_ADDRESS, TA_ADDRESS_IP, TRANSPORT_ADDRESS