Back to product page

LocalMAC property


Holds MAC address of local interface.

Type

String.

Syntax

  • C++
unsigned char LocalMAC[6];

Remarks

LocalMAC property holds MAC address for the adapter. MAC address is used by system sockets to correctly route raw network packets between network adapters (local adapters, and remote adapter). MAC address must be unique on the network. Changing this property does not really change MAC address of the adapter, it only changes how devP2P sees the adapter (unless you know what you're doing, do not change this value).

Local MAC value is sent to remote devP2P upon connection, since remote side needs our MAC to route packets to us.

Platforms

Windows
Mac OSX
Linux
BSD