RaknetStream

Undocumented in source.

Constructors

this
this(Socket socket, Address address, size_t mtu)
Undocumented in source.

Members

Functions

handle
ubyte[] handle(ubyte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
receive
ubyte[] receive()
Undocumented in source. Be warned that the author may not have intended to support it.
send
ptrdiff_t send(ubyte[] _buffer)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

acceptSplit
bool acceptSplit;
Undocumented in source.
mtu
size_t mtu;
Undocumented in source.

Inherited Members

From Stream

socket
Socket socket;

Socket used for writing and reading data.

last_recv
ptrdiff_t last_recv;
Undocumented in source.
send
ptrdiff_t send(ubyte[] buffer)

Sends bytes to the connected socket.

receive
ubyte[] receive()

Receives bytes from the connected socket.

lastRecv
ptrdiff_t lastRecv [@property getter]

Indicates the result of the last receive call performed on the connected socket.

Meta