Provide a new g_get_host_name() function?
For some reason, the hostname is cached in g_get_host_name()
. However, it would be useful to provide a function that gives the current hostname (based on existing code). Can we add a new g_get_host_name_now()
? (open to better naming suggestions)