get_name


Description:

public unowned string? get_name ()

Returns the hostname associated with this.

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.

Parameters:

this

a Address

Returns:

the hostname, or null if it is not known.