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)
TCPConnection
connectTCP
(NetworkAddress addr, NetworkAddress bind_address, Duration timeout)
@
safe
TCPConnection
connectTCP
(
NetworkAddress
addr
,
NetworkAddress
bind_address
=
anyAddress
,
Duration
timeout
=
Duration.max
)
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.