CPC H04L 69/166 (2013.01) [H04L 43/028 (2013.01); H04L 69/163 (2013.01); H04L 69/24 (2013.01)] | 13 Claims |
2. A method for controlling a communication apparatus that performs Transmission Control Protocol (TCP) communication with an external apparatus, the method comprising:
setting a maximum segment size (MSS) lower limit value to be used in the TCP communication, based on a user operation;
executing, when an initiation request for the TCP communication is received from the external apparatus, and in a case where an MSS candidate value received from the external apparatus and acceptable by the external apparatus is more than or equal to the set MSS lower limit value, control to determine the MSS candidate value or the MSS lower limit value set in the communication apparatus, whichever smaller in value, as an MSS to be used in the TCP communication, and establish the TCP communication with the external apparatus using the determined MSS; and
executing, when an initiation request for the TCP communication is received from the external apparatus, and in a case where the MSS candidate value received from the external apparatus and acceptable by the external apparatus is less than the set MSS lower limit value, control to avoid establishment of the TCP communication with the external apparatus.
|