Connecting device MAC address


I was wondering if there is any way to know the MAC address of the device connecting to a socket on a Digi ConnectME? I know that one can get the IP address as a result of the “accept” function, but I also need the MAC without issuing an ARP request.

Thanks in advance

Solved. Took a small modification to eth_recv.c and ethData structure where now I store the MAC address of the connecting device/client.