Static methods

staticgetAddrInfo(loop:Loop, node:Null<String>, service:Null<String>, ?options:Null<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:Null<NameInfoOptions>, callback:(result:Result<{service:String, hostName:String}>) ‑> Void):Void

Retrieves host names.