Another Socket in Python
r0bbie at libero.it
Sat Aug 17 16:45:10 CEST 2002
It's the same old problem in my code:
HOST = ''
PORT = 50007
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
conn, addr = s.accept()
print 'Connected by', addr
data = conn.recv(1024)
if not data: break
i need a script that every second after the server is in LISTEM print on the
screen * until a client is logged in.
I have try with the module select but i'm not able to do it.
More information about the Python-list