addr1 and addr2 have the same IP address. This method can be used
with hash_by_ip to create a
HashTable that hashes on IP address.
addr1 and addr2 have the same "name". This method can be used with
hash_by_name to create a
HashTable that hashes on address "names".
name and port
. The Address's IP address may not be available right away; the caller can call
resolve_async or
resolve_sync to force a DNS resolution.
sa (or
null if sa's address family isn't supported)
addr (which is assumed to only have one socket address associated with it).
addr.
addr as a string. (Eg, "127.0.0.1"). If the
address is not yet known, returns null.
addr.
addr, with its length in *@len. If the sockaddr is not
yet known, returns null.
addr has already been resolved. Unlike the other
Address "get" methods, this is safe to call when addr might be being
resolved in another thread.
addr (its IP address if it was created with
Address, or its hostname if it was created with
Address.from_sockaddr or
Address.any.)
addr, as with
resolve_async.
