I am using a Datagram socket, so I cant call Sock_recvmsg multiple times. --- sai narasimhamurthy <sai_narasi@xxxxxxxxx> wrote: > 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 > __________________________________ Discover Yahoo! Find restaurants, movies, travel and more fun for the weekend. Check it out! http://discover.yahoo.com/weekend.html - : 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