* UDP socket not receiving full data.
@ 2011-05-19 16:54 Prabhu nath
2011-05-20 16:21 ` Mulyadi Santosa
0 siblings, 1 reply; 2+ messages in thread
From: Prabhu nath @ 2011-05-19 16:54 UTC (permalink / raw)
To: kernelnewbies
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110519/e00e7b66/attachment.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* UDP socket not receiving full data.
2011-05-19 16:54 UDP socket not receiving full data Prabhu nath
@ 2011-05-20 16:21 ` Mulyadi Santosa
0 siblings, 0 replies; 2+ messages in thread
From: Mulyadi Santosa @ 2011-05-20 16:21 UTC (permalink / raw)
To: kernelnewbies
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-20 16:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-19 16:54 UDP socket not receiving full data Prabhu nath
2011-05-20 16:21 ` Mulyadi Santosa
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.