Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #60643 > unrolled thread

Re: How to determine whether client and server are on the same host

Started byMalte Forkel <malte.forkel@berlin.de>
First post2013-11-27 23:31 +0100
Last post2013-11-27 23:31 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How to determine whether client and server are on the same host Malte Forkel <malte.forkel@berlin.de> - 2013-11-27 23:31 +0100

#60643 — Re: How to determine whether client and server are on the same host

FromMalte Forkel <malte.forkel@berlin.de>
Date2013-11-27 23:31 +0100
SubjectRe: How to determine whether client and server are on the same host
Message-ID<mailman.3324.1385591705.18130.python-list@python.org>
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.


[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web