We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Greetings,
Intro: I am developing a TCP Server (TCP Passive Open) using LPC2364 (ARM7TDMI). I need to transmit/ receive approximately 35 Kb of data through an active TCP connection. As per document references, the TCP_MAXSEGSZ macro defines the maximum size of the packet transmitted in a single transaction. The possible range that can be defined is between 536 to 1460 bytes.
Issue: Even if I configure the maximum value 1460 as the Maximum segment size(TCP_MAXSEGSZ ), I am able to transmit only 554 bytes through an active connection.
I also came across the statement of Keil that the Maximum Segment size will be negotiated during initial handshake of the TCP connection. But the TCP client I am communicating with, is a Linux based system which has a minimum value of 4096 as Maximum Segment Size.
How can I solve this issue?
Requirement: I need the Maximum Segment size during transmission to be at least 1024 (1Kb).
Kindly help me out in this regard. Thanks in advance.