#14758: Need to specify the desired socket type in the getaddrinfo call.
This worked by accident on Linux because the SOCK_STREAM was returned first, but on the FreeBSD the SOCK_DGRAM is first in the list.
Showing
Please
register
or
sign in
to comment