lwip tcp payload length is changing <p>I am using lwip tcp for streaming data from sensor to a server program running in a PC(linux).My TCP_MSS is 1160, even though it sending packets of size 462,which is normal. But while doing so suddenly my packet size is changed to 1160 and after sending a few packets of size 1160 the connection is getting terminated by sending FIN packet. Why? I am getting the ACKs also from the server side. There is no congestion or any other network issue. </p>