Berkeley CSUA MOTD:Entry 14427
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2024/11/23 [General] UID:1000 Activity:popular
11/23   

1998/8/7-8 [Computer/Networking] UID:14427 Activity:kinda low
8/6     In linux what is the device name to read and write to and from
        tcp/ip?
        \_ There is no IP or Ethernet raw device, like on some other Unix
           systems.  Typically you would use socket calls (accept(2),
           connect(2), etc.); there is a socket type called SOCK_RAW,
           which lets you use some network facilities more directly.
           \_ I thought all I/O traffic goes through /dev/* ?  Then what
              does accept(2) and connect(2) read and write to?
              \_ They don't read(2) or write(2) to anything; they are just
                 their own system calls that act on kernel data structures
                 called sockets.  /dev is not involved here.
        \_ My grandmother knew this already.
                 called sockets.  /dev is not involved here.
        \_ My grandmother knew this already.
2024/11/23 [General] UID:1000 Activity:popular
11/23   

You may also be interested in these entries...
2001/8/9-10 [Computer/Networking] UID:22063 Activity:moderate
8/9     Does anybody know what Cringely is talking about when he says that
        winXP's "open TCP sockets" design will make the virus situation
        worse?  If CodeRed can ping around, isn't that about the same as
        raw socket access?
        \_ Are you talking about that Gibson guy who saws raw sockets is
           bad?
	...