Home Networkprogramming
Post
Cancel

Networkprogramming

Server:

https://www.youtube.com/watch?v=ws2uptjZwmA&list=PLZIwlOSv75K7jXcVABdIo3wyKp5NwXKlW&index=2

  1. Create the socket(file_descriptor)
  2. bind the socket to socket_fd, ipAndPort, addrlen
  3. listen the process of converting an unconnected socket into a passive socket

  4. Accept transition of connection request from listen() method to an actual socket

Client

  1. Create the socket(file_descriptor)
  2. Connect
This post is licensed under CC BY 4.0 by the author.