2012-11-06 11:34:24

by devendra.aaru

[permalink] [raw]
Subject: recvfrom a large packet

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?


2012-11-06 11:34:58

by devendra.aaru

[permalink] [raw]
Subject: Re: recvfrom a large packet

oops sorry wrong list ! sorry for the question