Returns the sockaddr associated with this, with its length in *len
.
If the sockaddr is not yet known, returns null
.
This method is not thread-safe; if you call it while this is being resolved in another thread, it may return garbage. You can use is_resolved to safely test whether or not an address is resolved before fetching its name or address.
this |
a Address |
len |
return location for sockaddr length |
the sockaddr, or |