SocketAddress.get

Calls getaddrinfo and returns the array of results. It will populate the data into the buffer you provide, if you provide one, otherwise it will allocate its own.

struct SocketAddress
static @trusted
get
(
scope const char[] nodeName
,
scope const char[] serviceOrPort
,
addrinfo* hints = null
,,
scope bool delegate
(
scope addrinfo* ai
)
filter = null
)

Meta