netlib.connection

Members

Aliases

ClientId
alias ClientId = size_t
Undocumented in source.
PacketHandler
alias PacketHandler = void delegate(ubyte[] packetData, ClientId clientId)

Packet handler. Returns true if data was valid and false otherwise.

Classes

Connection
class Connection
Undocumented in source.

Functions

loadEnet
void loadEnet(string[] libNames)
Undocumented in source. Be warned that the author may not have intended to support it.
unpackPacket
P unpackPacket(ubyte[] packetData)
Undocumented in source. Be warned that the author may not have intended to support it.
unpackPacketNoDup
P unpackPacketNoDup(ubyte[] packetData)
Undocumented in source. Be warned that the author may not have intended to support it.

Imports

ENetPeer (from derelict.enet.enet)
public import derelict.enet.enet : ENetPeer;
Undocumented in source.

Structs

ConnectionSettings
struct ConnectionSettings
Undocumented in source.
PacketInfo
struct PacketInfo
Undocumented in source.

Meta

Authors

Andrey Penechko.