Hi,
I did not foud any way to set "don't fragment" flag on ip protocol.
I've tryed also the following lines without results
val = 1;
if(setsockopt(s, IPPROTO_IP, FLG_IPTX_DONTFRAG, &val, sizeof(val)) != 0)
platform_write("error in setsockopt - do not fragment\n");
Does anybody found how to do that?
There is no documentation about how to set it on NDK docs. I've found FLG_IPTX_DONTFRAG on ipif.h but without any indication on using it.
I will appreciate your help a lot.
Thank you