EVT_NetAddress

Contains a network address associated with a DSEvent.

Structure

  typedef struct EVT_NetAddress {
     unsigned int   type;
     unsigned int   length;
     char           data[1];
  
  };
  

Fields

type

Specifies the type of the address. Can be one of the following values:

  • NT_IPX

  • NT_IP

  • NT_SDLC

  • NT_TOKENRING_ETHERNET

  • NT_OSI

  • NT_APPLETALK

  • NT_COUNT

length

Specifies the number of bytes in which the address is stored.

data

A char array of bytes [length] long, containing the network address.

Remarks

The address is stored as a binary string. This string is the literal value of the address. To display it as a hexadecimal value, you must convert each 4-bit nibble to the correct character (0,1,2,3,...F).

For two net addresses to match, the type, length, and value of the addresses must match.