• Home
  • QUESTIONS & ANSWERS
  • Integrated Circuits (ICs)
  • What are the steps in the process of connecting sockets?

    * Question

    What are the steps in the process of connecting sockets?


    *
    Answer

    The connection process between sockets can be divided into three steps: server listening, client request, and connection confirmation.Server monitoring: The server-side socket does not locate a specific client socket, but is in a state of waiting for a connection to monitor the network status in real time.Connection confirmation: When the server-side socket listens to or receives a connection request from the client socket, it responds to the client socket request, creates a new thread, and puts the server-side socket.The description is sent to the client, and once the client confirms the description, the connection is established.


    COMMENTS

    WORDPRESS: 0
    DISQUS: 0