2.2.4 TA_ADDRESS
The TA_ADDRESS structure defines a single transport address of a specific type.
-
typedef struct _TA_ADDRESS { USHORT AddressLength; USHORT AddressType; UCHAR Address[1]; } TA_ADDRESS, *PTA_ADDRESS;
AddressLength: An unsigned 16-bit integer that MUST contain the size, in bytes, of the Address field. The value MUST be one of the following (by address type).
Address type prefix |
Value |
---|---|
IP_ |
4 |
IPX_ |
10 |
FOREIGN_ |
16 |
AddressType: An unsigned 16-bit integer that MUST contain one of the values in the following table.
Value |
Meaning |
---|---|
IP_ADDRESS_TYPE 0x0001 |
The Address field contains a 32-bit IP address. |
IP_RAS_ADDRESS_TYPE 0x0002 |
The Address field contains a 32-bit IP address associated with a connection that is established through a Remote Access Service (RAS) server. |
IPX_ADDRESS_TYPE 0x0003 |
The Address field contains a 4-byte netnum followed by a 6-byte nodenum. The netnum identifies the IPX network. The nodenum represents the IPX node address. |
FOREIGN_ADDRESS_TYPE 0x0005 |
The Address field contains the GUID of a connected network object. |
Address: The array of bytes that contains the address value.
-
This MUST be one of the following: