Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60643
| From | Malte Forkel <malte.forkel@berlin.de> |
|---|---|
| Subject | Re: How to determine whether client and server are on the same host |
| Date | 2013-11-27 23:31 +0100 |
| References | <l708pt$r5b$1@ger.gmane.org> <5295394B.4070400@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3324.1385591705.18130.python-list@python.org> (permalink) |
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.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
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
csiph-web