mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
block inside accept rather than using select to poll and then calling accept regardless of the outcome of the select call, and then failing because the socket is non-blocking. SocketClientConnection, SocketConnector, TCPClientConnection, TCPConnector, connectTCP, UnixClientConnection, UnixConnector, connectUnix have gone. loseConnection and stopListening and closeSocket (where they are needed) are now called close. startListening is now called listen. Closes bug #379. Relieves a weight from the shoulders of the universe. Signed-off-by: Ewan Mellor <ewan@xensource.com>
The file test.py here is from the Zope project, and is Copyright (c) 2001, 2002 Zope Corporation and Contributors. This file is released under the Zope Public License, version 2.0, a copy of which is in the file ZPL-2.0.