vibe-core v1.9.3 (2020-08-03T00:34:08Z)
Dub
Repo
connectTCP
vibe
core
net
Establishes a connection to the given host/port.
TCPConnection
connectTCP
(string host, ushort port, string bind_interface, ushort bind_port, Duration timeout)
@
safe
TCPConnection
connectTCP
(
string
host
,
ushort
port
,
string
bind_interface
= null
,
ushort
bind_port
= 0
,
Duration
timeout
=
Duration.max
)
TCPConnection
connectTCP
(NetworkAddress addr, NetworkAddress bind_address, Duration timeout)
Meta
Source
See Implementation
vibe
core
net
aliases
TCPConnectionDelegate
TCPConnectionFunction
classes
ReadTimeoutException
enums
TCPListenOptions
WaitForDataAsyncStatus
WaitForDataStatus
functions
anyAddress
connectTCP
listenTCP
listenTCP_s
listenUDP
resolveHost
mixins
__anonymous
structs
NetworkAddress
TCPConnection
TCPListener
UDPConnection
Establishes a connection to the given host/port.