hi,

i am using kernel 2.2.5-15 .

when  doing ioctl(sockfd,FIONREAD,&byte_not_read);
to know the no. of bytes unread in the buffer i get a 
'operaton not supported' error.

sockfd is a (PF_PACKET,SOCK_DGRAM,ETH_P_IP) socket.

is FIONREAD supported on packet sockets?
        
i am including sys/ioctl.h

thanks in advance
siddharth


__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to