.remotemac R/O Property

Function:

For the currently selected socket (selection is made through sock.num), returns the MAC address of the host with which this socket had the most recent or currently has a connection.

Type:

String

Value Range:

Default = "0.0.0.0"

See Also:

sock.remoteip, sock.remoteport, sock.bcast


Details

For UDP connections, when the on_sock_data_arrival event handler is entered, sock.remotemac will contain the MAC address of the sender of the current UDP datagram being processed. Outside of the on_sock_data_arrival event handler, this property will return the source MAC address of the most recent datagram received by the socket.


.remotemac R/O Property

Details