c6cc5a1a37
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>
20 lines
421 B
Makefile
20 lines
421 B
Makefile
# New ports collection makefile for: timeoutsocket
|
|
# Date created: 23 April 2007
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= timeoutsocket
|
|
PORTVERSION= 1.23
|
|
CATEGORIES= net python
|
|
MASTER_SITES= CENKES
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= infofarmer@FreeBSD.org
|
|
COMMENT= Timeout mechanism for TCP connections
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=yes
|
|
|
|
.include <bsd.port.mk>
|