> It means what it says. Do use socket(AF_PACKET, SOCK_RAW, ..) instead.
I have been looking at it in the context of Diald.
This does not seem to be an exact substitute for (AF_INET,SOCK_PACKET,..)
1) It does not support ioctl(..., SIOCGIFADDR.
2) Diald uses select to watch for input on the proxy port when the link
is down.
With SOCK_PACKET incoming packets trigger the select; with SOCK_RAW,
they don't.
-- Shaw Carruthers - shaw@shawc.demon.co.uk London SW14 7JW UK This is not a sig( with homage to Magritte).