vibe-core ~master (2022-04-01T19:24:37Z)
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
UDPListenOptions
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.