StreamPeerTCP.connectToHost

Connects to the specified host:port pair. A hostname will be resolved if valid. Returns constant OK on success or constant FAILED on failure.

struct StreamPeerTCP
@nogc nothrow
GodotError
connectToHost
(
in String host
,
in long port
)

Meta