newbie question

jeff plastic"no-spam-pls" at xsintrk.net
Fri Apr 16 03:34:41 EDT 2004


"Krzysztof Stachlewski" <stach at fr.pl> wrote in
news:c5nuno$1mj$1 at absinth.dialog.net.pl: 

> This is because you are trying to use a socket that is already closed.
> You are calling s.close() but you are not break-ing out of the loop.
> In the next iteration s.recv() is called, but s is closed
> at that moment. Add a break after the call to s.close().

> Stach

*smacks forehead*
*hard*



More information about the Python-list mailing list