network programming: how does s.accept() work?

Steve Holden steve at holdenweb.com
Tue Feb 26 00:24:36 EST 2008


Roy Smith wrote:
> In article <mailman.1257.1204002544.9267.python-list at python.org>,
>  Steve Holden <steve at holdenweb.com> wrote:
> 
>>  TCP guarantees 
>> that no two ephemeral port connections from the same client will use the 
>> same port.
> 
> Where "client" is defined as "IP Address".  You could certainly have a 
> remote machine that has multiple IP addresses using the same remote port 
> number on different IP addresses for simultaneous connections to the same 
> local port.

Correct.
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/




More information about the Python-list mailing list