Networking Forums

Networking Forums > Computer Networking > Linux Networking > PF_INET,SOCK_RAW - obsolete?

Reply
Thread Tools Display Modes

PF_INET,SOCK_RAW - obsolete?

 
 
Michal Wojciechowski
Guest
Posts: n/a

 
      07-09-2004, 02:03 AM
Hello,

While reading ip(7), I came upon this:

"For compatibility with Linux 2.0, the obsolete socket(PF_INET,
SOCK_RAW, protocol) syntax is still supported to open a packet(7)
socket."

Is this correct? AFAIK, it should be SOCK_PACKET mentioned here, not
SOCK_RAW, since socket(PF_INET, SOCK_RAW, protocol) is a legitimate
method of direct access to the IP protocol.

--
* Michal Wojciechowski
* odyniec -at- odyniec -dot- net
* http://odyniec.net/
* Signatures longer than three lines suck.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SOCK_RAW error in Windows 98 when trying to connect Wade Wireless Networks 0 03-08-2007 11:02 PM
Re: Question on sendto with PF_PACKET and SOCK_RAW. nehavrce@yahoo.co.in Linux Networking 0 01-06-2005 07:09 AM



1 2 3 4 5 6 7 8 9 10 11