kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* recvfrom a large packet
@ 2012-11-06 11:35 devendra.aaru
  2012-11-06 14:08 ` Victor Buciuc
  0 siblings, 1 reply; 5+ messages in thread
From: devendra.aaru @ 2012-11-06 11:35 UTC (permalink / raw)
  To: kernelnewbies

if i do a recvfrom (sk, buf, 10000, 0, &addr, &len), shall i recv all the data
i mean the 10000 bytes?

since fragmentation happen in the ip layer and assembled happen in the
ip layer it doesnt matter for the upper layer about the packet size.


i wrote a test code and it seems to be working.

is there any problem will come if i turn on firewall.

any ideas?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-11-07 12:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-06 11:35 recvfrom a large packet devendra.aaru
2012-11-06 14:08 ` Victor Buciuc
2012-11-06 22:20   ` Bernd Petrovitsch
2012-11-07  5:09     ` devendra.aaru
2012-11-07 12:15       ` Bernd Petrovitsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).