Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60446 > unrolled thread
| Started by | Malte Forkel <malte.forkel@berlin.de> |
|---|---|
| First post | 2013-11-25 20:35 +0100 |
| Last post | 2013-11-25 20:35 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
How to determine whether client and server are on the same host Malte Forkel <malte.forkel@berlin.de> - 2013-11-25 20:35 +0100
| From | Malte Forkel <malte.forkel@berlin.de> |
|---|---|
| Date | 2013-11-25 20:35 +0100 |
| Subject | How to determine whether client and server are on the same host |
| Message-ID | <mailman.3191.1385408149.18130.python-list@python.org> |
Hi, I have a Python application that communicates with a server via telnet. Host and port of the server are supplied by the user when the application is started. How can I determine from within the application whether the server's host actually is the local host? (In that case I could implement an operation not available in the telnet-based protocol by directly accessing the local filesystem.) Sounds like there should be an obvious solution. Unfortunately, I haven't found it yet :-) Malte
Back to top | Article view | comp.lang.python
csiph-web