TcpServer

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

accept
Socket accept()
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
open
void open(ushort listenPort)
Undocumented in source. Be warned that the author may not have intended to support it.
receive
bool receive(Socket clientSocket, string message, uint size)
Undocumented in source. Be warned that the author may not have intended to support it.
receive
bool receive(Socket clientSocket, InStream stream)
Undocumented in source. Be warned that the author may not have intended to support it.
run
void run()
Undocumented in source.
send
bool send(Socket clientSocket, string message)
Undocumented in source. Be warned that the author may not have intended to support it.
send
bool send(Socket clientSocket, OutStream stream)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

address
string address [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
port
string port [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_address
Address _address;
Undocumented in source.
_socket
TcpSocket _socket;
Undocumented in source.

Meta