skipping parts with Sock_recvmsg ()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am working on socket calls at the kernel level(linux
2.4.29) . I have worked with many options like
MSG_WAITALL , MSG_PEEK ..etc. 

I am stuck at the implementation where I really need
some option to skip a part(initial part)  of the
socket recieve buffer when I call sock_recvmsg .i just
want to throw away some header data which I have read
, basicaly. 


For example : The socket recieve buffer has say:

"1234aaaaaaaaaa"

My sock_recvmsg should give me "aaaaaaaaa"

Thanks
Sai



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux