StreamPeerTCP.connectToHost

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

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

Meta