Module RawServer
source code
Manage connections to and tasks to be run on the server.
|
|
RawServer
Manage connections and tasks like a server.
|
|
|
autodetect_ipv6()
Detect whether IPv6 connections are supported (not used). |
source code
|
|
|
|
autodetect_socket_style()
Determine if an IPv6 server socket will also field IPv4
connections. |
source code
|
|
logging.Logger
|
logger = logging.getLogger('DebTorrent.RawServer')
the logger to send all log messages to for this module
|
int
|
READSIZE = 32768
the maximum amount of data to read from any sockets
|
Imports:
bisect.insort,
SocketHandler.SocketHandler,
socket,
cStringIO.StringIO,
traceback.print_exc,
select.error,
threading.Thread,
threading.Event,
time.sleep,
clock.clock,
signal.signal,
signal.SIGINT,
signal.SIG_DFL,
sys,
logging