How to get the client's MAC address in Vibe

Steven Schveighoffer schveiguy at gmail.com
Thu Feb 8 14:21:13 UTC 2024


On Wednesday, 7 February 2024 at 22:16:54 UTC, Alexander Zhirov 
wrote:
> Is there a way to identify a client by MAC address when using 
> the Vibe library?
> The `NetworkAddress` 
> [structure](https://vibed.org/api/vibe.core.net/NetworkAddress) 
> does not provide such features. Or did I miss something?

Mac is a hardware address. By the time the packets get to your 
server, that info is long gone. Even if you could get it, it 
likely is the MAC address of your router, not the peer.

-Steve


More information about the Digitalmars-d-learn mailing list