Hi,
I wrote some network modules to 2.6.x Linux kernel.
Im useing sock_recvmsg / sock_sendmsg (linuxsrc/include/linux/net.h ) interface to
receiving and sending data in TCP mode.
Im cooperating with HTTP protocol and I have a question.
Supose that I have buffer[100]
I have connection client - server WWW ( my application )
Client want to send 2023 bytes to me.
How can I check whether there ara any data to receive. I mean
if I call sock_recvmsg once ( I receive only 100 bytes ) are there any possibility to check
whether should I call again this function If yes how can I do this.
Thx for helping forward and sorry for my english