NetworkManager

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

allocConnection
Connection allocConnection(int port)
Undocumented in source. Be warned that the author may not have intended to support it.
allocOutgoingConnection
Connection allocOutgoingConnection(int port)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
Connection connect(string ipaddr, ushort port)
Undocumented in source. Be warned that the author may not have intended to support it.
listen
void listen(ushort port, int queue)
Undocumented in source. Be warned that the author may not have intended to support it.
numActiveConnections
size_t numActiveConnections()
Undocumented in source. Be warned that the author may not have intended to support it.
openStdin
void openStdin()
Undocumented in source. Be warned that the author may not have intended to support it.
proceed
bool proceed(int timeout)

returns true if stuff happened, false if timed out timeout of 0 means wait forever - set it to -1 if you want it to return immediately

setConnectionSpawner
void setConnectionSpawner(int port, Connection delegate() c)
Undocumented in source. Be warned that the author may not have intended to support it.
setConnectionSpawner
void setConnectionSpawner(int port, Connection function() c)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

handledSignal
bool handledSignal;
Undocumented in source.

Variables

connectionTimeOut
int connectionTimeOut;
Undocumented in source.

Meta