Module stream_peer_tcp

Consts

STATUS_NONE = 0'i64
STATUS_CONNECTING = 1'i64
STATUS_CONNECTED = 2'i64
STATUS_ERROR = 3'i64

Procs

proc connectToHost(self: StreamPeerTCP; host: string; port: int64): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isConnectedToHost(self: StreamPeerTCP): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getStatus(self: StreamPeerTCP): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getConnectedHost(self: StreamPeerTCP): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getConnectedPort(self: StreamPeerTCP): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc disconnectFromHost(self: StreamPeerTCP) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setNoDelay(self: StreamPeerTCP; enabled: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}