Module networked_multiplayer_e_net

Consts

COMPRESS_NONE* = 0'i64
COMPRESS_RANGE_CODER* = 1'i64
COMPRESS_FASTLZ* = 2'i64
COMPRESS_ZLIB* = 3'i64
COMPRESS_ZSTD* = 4'i64

Procs

proc createServer*(self: NetworkedMultiplayerENet; port: int64;
                  maxClients: int64 = 32'i64; inBandwidth: int64 = 0'i64;
                  outBandwidth: int64 = 0'i64): Error {.
gcsafe, locks: 0
.}
proc createClient*(self: NetworkedMultiplayerENet; ip: string; port: int64;
                  inBandwidth: int64 = 0'i64; outBandwidth: int64 = 0'i64): Error {.
gcsafe, locks: 0
.}
proc closeConnection*(self: NetworkedMultiplayerENet) {.
gcsafe, locks: 0
.}
proc setCompressionMode*(self: NetworkedMultiplayerENet; mode: int64) {.
gcsafe, locks: 0
.}
proc getCompressionMode*(self: NetworkedMultiplayerENet): int64 {.
gcsafe, locks: 0
.}
proc setBindIp*(self: NetworkedMultiplayerENet; ip: string) {.
gcsafe, locks: 0
.}