Java network programming TCP (1)

xiaoxiao2021-03-06  110

The network communication interface provided by the TCP is very different from the User Data News Agreement (UDP). The TCP features make the network programming very charm, and it deletes many of the UDP's interference portions (such as packet sorting and loss), simplifies network communication. UDP is concerned about the transmission of packets, and TCP is concerned about establishing a network connection and transmits and receives byte streams in a network connection.