SocketAddressToNative
function SocketAddressToNative(const aAddress: tSocketAddress; aNative: Pointer; out aLen: Integer): Boolean;
aAddress as the platform's sockaddr_in / sockaddr_in6, written to aNative (cNativeSockAddrSize octets of room); aLen is its length. False, and nothing written, for an address that is not valid.