Socket with Python
Erik Max Francis
max at alcyone.com
Fri Aug 16 16:16:16 EDT 2002
Juza wrote:
> My problem is in the SERVER: i need PRINT "*" in sequence until the
> client
> is connected to my HOST, i need a while cicle but i'm very new with
> the
> socket programming; i need while the socket is listen for connection
> see on
> the screen many * in sequence until the client is connected, when it's
> connected then stop with *.
You'll want to use select. See the select module.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/ \ There is nothing so subject to the inconstancy of fortune as war.
\__/ Miguel de Cervantes
Church / http://www.alcyone.com/pyos/church/
A lambda calculus explorer in Python.
More information about the Python-list
mailing list