Explanation 1
Long connection refers to the establishment of a socket connection, regardless of whether it is used to remain connected, but less secure,
The so-called short connection refers to the establishment of a socket connection after the receipt of data received after the disconnect immediately, the general bank uses a short connection
Explanation 2
Long connections are those that are kept connected in TCP based traffic, regardless of whether the data is currently being sent or received.
The short connection is only when there is data transmission to connect, customer-server communication/Transfer data is closed after the connection.
Explanation 3
The concept of long connection and short connection seems to have been mentioned in the Mobile CMPP protocol, but not elsewhere.
Communication mode
There are two kinds of connection modes between the network elements: long connection and short connection. A long connection is one in which multiple packets can be sent continuously on a TCP connection, and if no packets are sent during TCP connection retention, both sides are required to send a detection packet to maintain the connection. Short connection refers to the communication between the two parties have data interaction, the establishment of a TCP connection, after the data sent to complete, then disconnect this TCP connection, that is, each TCP connection completes only a pair of CMPP messages sent.
At the present stage, it is required that long connection communication should be adopted between ISMG, and it is suggested that the communication mode of long connection between SP and ISMG should be adopted.
Explanation 4
Short connection: For example, HTTP, just connect, request, close, process time is short, if the server does not receive a request for a period of time to close the connection.
Long connection: Some services need to connect to the server for a long time, such as CMPP, generally need to do their own online maintenance.