Re: skipping parts with Sock_recvmsg ()

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

 



On Fri, 10 Jun 2005, sai narasimhamurthy wrote:

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.

Can't you just skip the data in the result?

Or use a a suitable iovec dumping that header out of your way.

Regards
Henrik
-
: 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