Function 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.
static SocketAddress[] get(
scope const(char[]) nodeName,
scope const(char[]) serviceOrPort,
core .sys .posix .netdb .addrinfo* hints = null,
scope return UserProvidedBuffer!(trial.arsd.core.SocketAddress) buffer = UserProvidedBuffer(null, 0, OnOutOfSpace .reallocate) .this(null, OnOutOfSpace .reallocate),
scope bool delegate(scope core .sys .posix .netdb .addrinfo*) filter = cast(bool delegate(scope addrinfo* ai))null
) @trusted;