> I was inspired to enhance your code, and perform a critical bug-fix.
> Your code would not have sent large files out to dialup users, because
> it assumed all data was sent on the 'send' command. I added code to
> check for the number of bytes sent, and loop until it's all gone. 

Another solution is to simply use the socket.sendall method, which
will continue to send all data until all the bytes have been sent.

Sw.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to