A client requested that the MTU limit should be 1492.
Is there a way to do it in the source code (program in C)?
Is there any other way to do it in general? (if
The MTU is a number which defines the maximum transmission unit per packet. The bigger it is, the faster your data will be sent. Assuming you can send n
packets/s of m
size, if m
grows, m*n
grows too.
I think your client wants that MTU because of its network equipment (maybe ethernet 802.3). Some equipment handel biggest frames size than others.
You can use ifconfig with the option mtu
to change its value: ifconfig eth0 mtu 1492
.