How does gatewayworker get the client MAC address

The

manual says that gatewayworker can get the ip, of the other party through $_ SERVER ["REMOTE_ADDR"], but there is no way to determine the specific source of the information in the local area network, and it cannot be specific to a certain device. I now want to get the mac address. Can gatewayworker get the mac address of the other party when it receives the message from the other party? I want to print mac information in the events file. Does any god know how to achieve it?

Php
Nov.03,2021

it just so happens that I have been working on this piece recently, and the official document does not seem to have obtained the MAC address. Fortunately, what I do is a circuit board, and the program on the circuit board will first obtain the local mac, and send the mac address and device SN once after the connection is successful. The server binds the hardware and the user according to the two data. Similarly, if you want to get the customer's mac address, it is recommended to write the code in the client. Pure gateway should not get this value.

Menu