[gnet] IP address of a TCP client



Hello,

How is it possible with gnet to know the IP address of a remote client
connecting to a server via a TCP socket ?
In SDL_net, there is a very handy function for this:
SDLNet_TCP_GetPeerAddress(TCPsocket sock);
Is there any equivalent function in gnet ?

Thanks,

-Olivier




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]