- __anonymous
mixin SocketMixin
Declares notifyRead and notifyWrite.
- conn
Socket conn;
The socket this class wraps.
- socket
Socket socket [@property getter]
Retrieve the socket class this class wraps.
- onReadable
void onReadable()
Undocumented in source. Be warned that the author may not have intended to support it.
- onWritable
void onWritable()
Undocumented in source. Be warned that the author may not have intended to support it.
- onError
void onError(string )
Undocumented in source. Be warned that the author may not have intended to support it.
- _address
Address _address [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- localAddress
alias localAddress = _address!true
Undocumented in source.
- remoteAddress
alias remoteAddress = _address!false
Undocumented in source.
- _addressStr
string _addressStr [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- localAddressStr
alias localAddressStr = _addressStr!true
Undocumented in source.
- remoteAddressStr
alias remoteAddressStr = _addressStr!false
Undocumented in source.
- daemonRead
bool daemonRead;
Don't block the process from exiting, even if the socket is ready to receive data.
TODO: Not implemented with libev
- daemonWrite
bool daemonWrite;
Don't block the process from exiting, even if the socket is ready to send data.
TODO: Not implemented with libev
- daemon
deprecated alias daemon = daemonRead
Undocumented in source.
- setKeepAlive
void setKeepAlive(bool enabled, int time, int interval)
Enable TCP keep-alive on the socket with the given settings.
- toString
string toString()
Returns a string containing the class name, address, and file descriptor.
Class that actually performs listening on a certain address family