libasync ~master (2021-10-01T13:41:16Z)
Dub
Repo
EventLoop.resolveHost
libasync
events
EventLoop
Blocks until the hostname is resolved, unless it's invalid.
class
EventLoop
nothrow
NetworkAddress
resolveHost
(
in
string
host
,
ushort
port
= 0
,
isIPv6
ipv6
=
isIPv6.no
,
isTCP
tcp
=
isTCP.yes
,
isForced
force
=
isForced.yes
)
Meta
Source
See Implementation
libasync
events
EventLoop
constructors
this
functions
accept
bind
broadcast
closeSocket
connect
exit
kill
listen
localAddr
loop
notify
read
readChanges
recv
recvFrom
resolveHost
resolveIP
run
send
sendTo
setOption
submitRequest
unwatch
watch
write
properties
error
status
variables
m_asyncThreadsStarted
m_evLoop
Blocks until the hostname is resolved, unless it's invalid.