typedef struct _TA_ADDRESS {
USHORT AddressLength;
USHORT AddressType;
UCHAR Address[1];
} TA_ADDRESS, *PTA_ADDRESS;
TA_ADDRESS defines a single transport address of a specific type, for example, NetBIOS. To represent several addresses, TDI uses the TRANSPORT_ADDRESS structure.
Members
AddressLength
Specifies the length, in bytes, for an address of one of the following types:
Length | Address Type |
6 | TDI_ADDRESS_TYPE_8022 |
4 | TDI_ADDRESS_TYPE_APPLETALK |
14 | TDI_ADDRESS_TYPE_IP |
12 | TDI_ADDRESS_TYPE_IPX |
18 | TDI_ADDRESS_TYPE_NETBIOS |
22 | TDI_ADDRESS_TYPE_NETONE |
Variable | TDI_ADDRESS_TYPE_OSI_TSAP |
AddressType
Specifies the type of the transport address. tdi.h defines symbolic constants for the possible address types, corresponding to Windows Sockets values with some extensions defined by TDI. Address types include:
Address Type | Value |
TDI_ADDRESS_TYPE_8022 | 18, 802.2 netcard–level address, TDI only |
TDI_ADDRESS_TYPE_IP | 2, IP address |
TDI_ADDRESS_TYPE_IPX | 6, IPX address |
TDI_ADDRESS_TYPE_APPLETALK | 16, AppleTalk® address |
TDI_ADDRESS_TYPE_NETBIOS | 17, NetBIOS address |
TDI_ADDRESS_TYPE_NETONE | 20, Net/One address, TDI only |
TDI_ADDRESS_TYPE_OSI_TSAP | 19, OSI, TSAP address, TDI only |
Address[1]
Specifies a character array containing the transport address. The array represents one of the following structures:
Structure | Address Type |
TDI_ADDRESS_8022 | TDI_ADDRESS_TYPE_8022 |
TDI_ADDRESS_APPLETALK | TDI_ADDRESS_TYPE_APPLETALK |
TDI_ADDRESS_IP | TDI_ADDRESS_TYPE_IP |
TDI_ADDRESS_IPX | TDI_ADDRESS_TYPE_IPX |
TDI_ADDRESS_NETBIOS | TDI_ADDRESS_TYPE_NETBIOS |
TDI_ADDRESS_NETONE | TDI_ADDRESS_TYPE_NETONE |
(To be supplied) | TDI_ADDRESS_TYPE_OSI_TSAP |
See Also
TDI_ADDRESS_8022, TDI_ADDRESS_APPLETALK, TDI_ADDRESS_IP, TDI_ADDRESS_IPX, TDI_ADDRESS_NETBIOS, TDI_ADDRESS_NETONE, TRANSPORT_ADDRESS