Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2006 10:52:31 +0200
From:      Stefan <stefan@sf-net.com>
To:        =?UTF-8?Q?JINMEI_Tatuya_/_=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= <jinmei@isl.rdc.toshiba.co.jp>
Cc:        freebsd-net@freebsd.org
Subject:   Re: raw ip paket sendto error
Message-ID:  <03F2063D-0333-482C-ADD5-914D162E92C0@sf-net.com>
In-Reply-To: <y7vslokk17u.wl%jinmei@isl.rdc.toshiba.co.jp>
References:  <F8D644AB-76D0-49B6-A665-6B459A13F85D@sf-net.com> <y7vslokk17u.wl%jinmei@isl.rdc.toshiba.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help

>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03F2063D-0333-482C-ADD5-914D162E92C0>