Borek Lupomesky wrote:

> > > and details about network interfaces?
> > 
> > The SIOCGIF* ioctl()s.
> 
>    But how do I create the socket to perform these ioctl's
> on? socket(AF_PACKET, SOCK_DGRAM, ...) ?

        socket(AF_INET, SOCK_DGRAM, IPPROTO_IP);

-- 
Glynn Clements <[EMAIL PROTECTED]>

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to