TcpClient

Undocumented in source.

Constructors

this
this(Selector selector, Socket socket)
Undocumented in source.

Members

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
forceClose
void forceClose()
Undocumented in source. Be warned that the author may not have intended to support it.
send
int send(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
send
int send(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
weakup
void weakup(EventType event)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

read
void read(TcpClient client)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(TcpClient client)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_fd
int _fd;
Undocumented in source.
_remoteAddress
string _remoteAddress;
Undocumented in source.

Inherited Members

From TcpStream

reusePort
bool reusePort [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
reusePort
bool reusePort [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
blocking
bool blocking [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
blocking
bool blocking [@property setter]
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.
remoteAddress
Address remoteAddress [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
localAddress
Address localAddress [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isAlive
bool isAlive [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
getOption
int getOption(SocketOptionLevel level, SocketOption option, void[] result)
Undocumented in source. Be warned that the author may not have intended to support it.
getOption
int getOption(SocketOptionLevel level, SocketOption option, int result)
Undocumented in source. Be warned that the author may not have intended to support it.
getOption
int getOption(SocketOptionLevel level, SocketOption option, Linger result)
Undocumented in source. Be warned that the author may not have intended to support it.
getOption
void getOption(SocketOptionLevel level, SocketOption option, Duration result)
Undocumented in source. Be warned that the author may not have intended to support it.
setOption
void setOption(SocketOptionLevel level, SocketOption option, void[] value)
Undocumented in source. Be warned that the author may not have intended to support it.
setOption
void setOption(SocketOptionLevel level, SocketOption option, int value)
Undocumented in source. Be warned that the author may not have intended to support it.
setOption
void setOption(SocketOptionLevel level, SocketOption option, Linger value)
Undocumented in source. Be warned that the author may not have intended to support it.
setOption
void setOption(SocketOptionLevel level, SocketOption option, Duration value)
Undocumented in source. Be warned that the author may not have intended to support it.
setKeepAlive
void setKeepAlive(int time, int interval)
Undocumented in source. Be warned that the author may not have intended to support it.
_socket
Socket _socket;
Undocumented in source.
_reusePort
bool _reusePort;
Undocumented in source.
_blocking
bool _blocking;
Undocumented in source.

Meta