Returns the hostname associated with @addr.
This method is not thread-safe; if you call it while @addr is being resolved in another thread, it may return garbage. You can use soup_address_is_resolved() to safely test whether or not an address is resolved before fetching its name or address.
the hostname, or %NULL if it is not known.
See Implementation
Returns the hostname associated with @addr.
This method is not thread-safe; if you call it while @addr is being resolved in another thread, it may return garbage. You can use soup_address_is_resolved() to safely test whether or not an address is resolved before fetching its name or address.