[Python-Dev] timeoutsocket.py

M.-A. Lemburg mal@lemburg.com
Sat, 04 May 2002 19:16:25 +0200


Timothy O'Malley wrote:
> 
> hola.
> 
> I've taken a whack at option #1 (grand unification of socket and
> timeoutsocket).
> 
> It's larger than I'd prefer to send in email.  If you are interested:
> 
>   http://www.timo-tasi.org/python/socket.py

Looks nice.

One quirk: the 32k constant in the implementation should probably
be turned into a class attribute. Depending on the network
being used, this would be a parameter to tweak to increase
throughput.

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting:                           http://www.egenix.com/
Python Software:                   http://www.egenix.com/files/python/