Function SockAddr.resolve

Perform a name resolution on the given string

static SockAddr resolve (
  string hostname,
  string service = null,
  ushort family = cast(ushort)2u,
  int sockType = 0
) @trusted;