TCP server client connection
no vote
Application background The protocol is used to establish a virtual connection between the host and the host to realize the high reliability of data packet switching. The IP protocol can be divided and assembled in IP data packets, but it is not clear whether the data packets are transmitted to the target computer by IP protocol. The use of TCP protocol is different, in the protocol transmission mode in the data packets are successfully sent to the target computer, TCP will require a confirmation; if not received within a certain time limit, then TCP will re send data packets. In addition, in the process of transmission, if you receive a disorder, loss and damage to the data packet, TCP can also be responsible for recovery. Key Technology After receiving the SYN message, the LISTEN SOCKET of the server can se