Address.getName

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.

class Address
string
getName
()

Return Value

Type: string

the hostname, or %NULL if it is not known.

Meta