size of socket.recv buffer

Locke brown.2053 at osu.edu
Tue Feb 26 16:21:20 EST 2002


ok, i figured out what i had to do. instead of 'message = s.recv(msg_len)' i
did:

while len(message) < msg_len: message = message + s.recv(1024)

and that seems to work every time. yippee! thanks for help everyone





More information about the Python-list mailing list