so something like, x = sock.recv(1024) while (len(x) > 0): # do stuff x = sock.recv(1024)
?? So what if the client sends 4 bytes, and then sends 8000 bytes? WIll I get the first 4 bytes as a separate msg so to speak? Basically i want to catch each message from the client as a whole. -- http://mail.python.org/mailman/listinfo/python-list