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


Groups > comp.lang.python > #60642

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

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:30 +0100
References <l708pt$r5b$1@ger.gmane.org> <7wfvqkrqvb.fsf@benfinney.id.au> <mailman.3227.1385465406.18130.python-list@python.org> <bfkpm5Fjl4vU1@mid.individual.net>
Newsgroups comp.lang.python
Message-ID <mailman.3323.1385591469.18130.python-list@python.org> (permalink)

Show all headers | View raw


Am 27.11.2013 00:37, schrieb Gregory Ewing:
>
> What would happen if you tried the file-based method when
> it wasn't a local connection? Is there a danger of it
> "succeeding" on the wrong machine and damaging something?
> 
I have been thinking about that.

There is a slight risk that the client might be talking to a server on a
remote host while there is a similar server running on the local
machine. That (local) server then might use a file by the same name as
the file on the remote server the client wants to operate on. In that
(unlikely) case I would mix up things big time...


Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: How to determine whether client and server are on the same host Malte Forkel <malte.forkel@berlin.de> - 2013-11-26 12:26 +0100
  Re: How to determine whether client and server are on the same host Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2013-11-27 12:37 +1300
    Re: How to determine whether client and server are on the same host Malte Forkel <malte.forkel@berlin.de> - 2013-11-27 23:30 +0100

csiph-web