#include <rtl.h>
U16 tcp_max_dsize (
U8 socket ); /* TCP socket to get the MSS of. */
Description
The tcp_max_dsize function determines the maximum number of
data bytes that can be sent in the TCP packet (Maximum Segment Size).
The argument socket specifies the handle of the TCP socket to
get the Maximum Segment Size of.
A default Maximum Segment Size of 1460 bytes is defined at
startup. However, when establishing a connection with a remote
machine, TCPnet might negotiate a different (smaller) value for the
Maximum Segment Size.
The tcp_max_dsize function is in the RL-TCPnet library. The
prototype is defined in rtl.h.
Return Value
The tcp_max_dsize function returns the maximum number of
data bytes that can be sent in each TCP packet.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.