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
.}
proc isConnectedToHost*(self: StreamPeerTCP): bool {.
gcsafe, locks: 0
.}
proc getStatus*(self: StreamPeerTCP): int64 {.
gcsafe, locks: 0
.}
proc getConnectedHost*(self: StreamPeerTCP): string {.
gcsafe, locks: 0
.}
proc getConnectedPort*(self: StreamPeerTCP): int64 {.
gcsafe, locks: 0
.}
proc disconnectFromHost*(self: StreamPeerTCP) {.
gcsafe, locks: 0
.}