UDP socket not receiving full data.
Dear All, I have connected two machines A <---> B. B is sending 35 packets (packet size = 1042 bytes) of data to A over UDP socket. But, the application A is receiving only 12 packets. TCPDUMP on machine A is showing all the packets received on machine A. I suspect the erroneous buffer handling in TCP/IP stack. Can anyone please let me know the function which is responsible to transfer data from the kernel space to user space, the function which does copy_to_user() kind of stuff. Or any hint on the control path of data from the driver to the application will be helpful. Thanks, Prabhu
On 19/05/2011, Prabhu nath <gprabhunath@gmail.com> wrote:
Dear All,
I have connected two machines A <---> B. B is sending 35 packets (packet size = 1042 bytes) of data to A over UDP socket. But, the application A is receiving only 12 packets. TCPDUMP on machine A is showing all the packets received on machine A.
you're creating a user space application, right? can you show us all your complete code? or at the very least, code snippet that show the way you send dan receive data? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
participants (2)
-
Mulyadi Santosa -
Prabhu nath