FileConnection

A POSIX file stream. Allows adding a file (e.g. stdin/stdout) to the socket manager. Does not dup the given file descriptor, so "disconnecting" this connection will close it.

Constructors

this
this(int fileno)
Undocumented in source.

Members

Functions

doReceive
sizediff_t doReceive(void[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
doSend
sizediff_t doSend(const(void)[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From StreamConnection

onWritable
void onWritable()

Called when a socket is writable.

Meta