On Fri, 24 Jun 2005 21:42:48 -0400, Jp Calderone wrote:
> shutdown actually tears down the TCP connection; close releases the file
> descriptor.
>
> If there is only one file descriptor referring to the TCP connection,
> these are more or less the same. If there is more than one file
> descript
On Fri, 24 Jun 2005 11:21:28 -0700, ncf wrote:
> I think your problem /may/ be in the following line of code:
> sa.listen(1)
>
> I believe what's happening is that the listen() creates a decremental
> counter of the number of connections to accept. Once it decrements to
> 0, it won't accept any m
On Fri, 24 Jun 2005 13:59:19 -0400, pwilkins wrote:
> if data == 'q':
>##disconnect client but keep waiting for connections
> ...
> client.close()
Sorry - made a mistak
First off I'm want to learn socket/network programming with python
so a lot of what I ask is newbie related.
I have written a test socket server that runs as a daemon.
It listens on two sockets (say at ports 8000 and 9000) so that I can
telnet over from another machine and get process info (ps ty