Network Programming - Introduction to Socket

Socket programming

Socket is a middleware abstraction layer between the application layer and the TCP/IP protocol family communication, it is a set of interfaces .

Socket communication routine

  1. When the connection between the two machines is established through the socket,

  2. In essence, the socket only does two things, one is to receive data, the other is to send data, and wait when there is no data.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325693125&siteId=291194637