Sockets: code works locally but fails over LAN

Bryan Olson fakeaddress at nowhere.org
Wed Sep 7 15:13:34 EDT 2005


n00m wrote:
 > Btw, why we need send() if there is sendall()?

Mostly because sendall() can block, even if you do all the
select() and setblocking() magic. That's no problem in the
threaded architecture we're using, but a deal-breaker for a
single-threaded server.

-- 
--Bryan



More information about the Python-list mailing list