Re: eth0--what's up?
>Thank you. This is exactly what I needed to know.
>So if I get you right, eth0 is kinda like ppp?
>Interface, not a device? That just seems odd, the way
>I've seen it referred to in conversation. I knew I
>was missing something.
If you know C, the following can help explain it:
You cannot open(2) /dev/eth0 and then write(2) to
it to communicate; instead you have to get a
socket, then send(2) a message to the socket. If
eth0 were a file in /dev, it would be very tempting to
open it as a file, which wouldn't work.
Carl
Reply to: