net-accept additional info

Started by Dmi, August 16, 2007, 08:38:14 AM

Previous topic - Next topic

Dmi

Hi!



How can I get IP and port of the originatior of incoming tcp/ip connection?

(net-sessions) seems to only provide numerical descriptor now.
WBR, Dmi

Lutz

#1
Nothing has changed in net-sessions, it always only reported the sockets of currently active connections.



Use (net-peer <socket>) to find out the remote  IP and port of a connection.



Lutz

Dmi

#2
oh! thanks! (probably my very old code was mistaken)
WBR, Dmi