> On Jun 21, 2023, at 7:52 AM, Ross Finlayson <[email protected]> wrote:
>
> virtual ClientConnection* createNewClientConnection(int clientSocket, struct
> sockaddr_storage const& clientAddr) {
> // The client’s IP address is in “clientAddr”; do what you want with it here
In particular, if you want to get the IP address (IPv4 or IPv6) in
human-readable ASCII form, you can do so by calling
AddressString(clientAddr).val()
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel