NetworkStream.connect

timeout is the socket write timeout.

interface NetworkStream
connect
(
string host
,
ushort port
,
Duration timeout = 10.seconds
)

Meta