I guess in this case getaddrinfo() tried to match the specified "service" (port) with a raw socket (for which there is no notion of "service"), and returned an error.
Yes your right, I tried it without the port argument and it went fine.
BTW, when I tried the same test on Solaris 10 and OpenBSD 3.6 (and NetBSD 2.0.1 for that matter), I saw the same error. So, it seems the current trend is to require a specific hint, and FreeBSD is not that special.
Hmm strange, I tried it again on OpenBSD 3.8 and there were no problems (i386).
Any suggestions for the second major problem? Best regards, Stefan _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"