Hi all Following code fragment works in FreeBSD 8.1-RELEASE, but not in FreeBSD 9.0-STABLE:
error = getaddrinfo("localhost", port, &hints, &res0); if (error) { fprintf(stderr,"getaddrinfo failed - %s\n", gai_strerror(error)); exit(1); } It complains: getaddrinfo failed - hostname nor servname provided, or not known Any idea why? Best regards Unga _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"