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. |