Date: Tue, 22 Mar 2016 13:37:37 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: freebsd-questions@freebsd.org Cc: "unixreader\@yahoo.com" <unixreader@yahoo.com> Subject: Re: some confusion in socket(2) Message-ID: <4460weh0ri.fsf@be-well.ilk.org> In-Reply-To: <4251199.3261655.1458654057744.JavaMail.yahoo@mail.yahoo.com> (Teng Zhang via freebsd-questions's message of "Tue, 22 Mar 2016 13:40:57 %2B0000 (UTC)") References: <4251199.3261655.1458654057744.JavaMail.yahoo.ref@mail.yahoo.com> <4251199.3261655.1458654057744.JavaMail.yahoo@mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Teng Zhang via freebsd-questions <freebsd-questions@freebsd.org> writes: > hello, in socket(2), the following sentence:=A0 =A0 =A0 =A0 =A0SOCK_RAW s= ockets > provide access to internal network protocols and interfaces.My > confusion is what are included in the range of "internal network > protocols and interfaces". Could you please tell me the answer or > where i can find relevant information. Raw sockets are nothing more than IP sockets without a transport protocol associated. Routing daemons and ping, for example, use raw sockets to directly control packet headers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4460weh0ri.fsf>