TCPConnection

Represents a single TCP connection.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
finalize
void finalize()
Undocumented in source. Be warned that the author may not have intended to support it.
flush
void flush()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
peek
const(ubyte)[] peek()
Undocumented in source. Be warned that the author may not have intended to support it.
read
size_t read(ubyte[] dst, IOMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
read
void read(ubyte[] dst)
Undocumented in source. Be warned that the author may not have intended to support it.
skip
void skip(ulong count)
Undocumented in source. Be warned that the author may not have intended to support it.
waitForData
bool waitForData(Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
waitForDataAsync
WaitForDataAsyncStatus waitForDataAsync(CALLABLE read_ready_callback, Duration timeout)

Waits asynchronously for new data to arrive.

waitForDataEx
WaitForDataStatus waitForDataEx(Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
write
size_t write(ubyte[] bytes, IOMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(ubyte[] bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(char[] bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(InputStream stream)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(InputStream stream, ulong nbytes)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

connected
bool connected [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
dataAvailableForRead
bool dataAvailableForRead [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
fd
int fd [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
keepAlive
bool keepAlive [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
keepAlive
bool keepAlive [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
leastSize
ulong leastSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
localAddress
NetworkAddress localAddress [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
peerAddress
string peerAddress [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
readTimeout
Duration readTimeout [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
readTimeout
Duration readTimeout [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
remoteAddress
NetworkAddress remoteAddress [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
tcpNoDelay
bool tcpNoDelay [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
tcpNoDelay
bool tcpNoDelay [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Context
struct Context
Undocumented in source.

Meta