gchar* purple_network_get_my_ip_from_gio ( GSocketConnection* sockconn )
Returns the IP address that should be used anywhere a public IP address is needed (listening for an incoming file transfer, etc).
If the user has manually specified an IP address via preferences, then this IP is returned. Otherwise STUN, UPnP, NAT-PMP, and finally GIO will be attempted to discover the local IP address depending on what’s available.
The socket connection to use to help figure out the IP, or
|The data is owned by the caller of the function.|