How to determine whether client and server are on the same host
Malte Forkel
malte.forkel at berlin.de
Wed Nov 27 17:31:42 EST 2013
Am 27.11.2013 01:14, schrieb Michael Torrie:
>
> I believe socket.getsockname() can return the IP address of the
> connecting client if you're using standard tcp/ip sockets.
>
The way you describe it, it sounds like it would require a change to the
server. I can only modify the client. I'll try to find out how I could
use that on the client.
More information about the Python-list
mailing list