1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/net/py-timeoutsocket/pkg-descr
Andrew Pantyukhin c6cc5a1a37 Add port net/py-timeoutsocket:
timeoutsocket enables a timeout mechanism on all TCP connections.  It
does this by inserting a shim into the socket module.  After this module
has been imported, all socket creation goes through this shim.  As a
result, every TCP connection will support a timeout.

The beauty of this method is that it immediately and transparently
enables the entire python library to support timeouts on TCP sockets.

WWW: http://www.timo-tasi.org/python/timeoutsocket.py
Author: Timothy O'Malley <timo@alum.mit.edu>
2007-04-23 08:57:03 +00:00

11 lines
503 B
Plaintext

timeoutsocket enables a timeout mechanism on all TCP connections. It
does this by inserting a shim into the socket module. After this module
has been imported, all socket creation goes through this shim. As a
result, every TCP connection will support a timeout.
The beauty of this method is that it immediately and transparently
enables the entire python library to support timeouts on TCP sockets.
WWW: http://www.timo-tasi.org/python/timeoutsocket.py
Author: Timothy O'Malley <timo@alum.mit.edu>