Static methods
staticgetAddrInfo(loop:Loop, node:Null<String>, service:Null<String>, ?options:AddrInfoOptions, callback:(result:Result<Array<AddrInfo>>) ‑> Void):Void
Retrieves addresses.
Either node
or service
may be null
but not both.
staticgetNameInfo(loop:Loop, addr:SockAddr, ?options:NameInfoOptions, callback:(result:Result<{service:String, hostName:String}>) ‑> Void):Void
Retrieves host names.