Fix gsocketclient-slow test on FreeBSD
The "port" variable ends up being 0 even after successful g_socket_bind. Use g_socket_get_local_address() to actually get a correct port number.
I'm not sure how this test works on Linux, tbh.
The "port" variable ends up being 0 even after successful g_socket_bind. Use g_socket_get_local_address() to actually get a correct port number.
I'm not sure how this test works on Linux, tbh.