socket-programming

What is socket programming?

👉 Socket programming is a way of connecting two nodes on a network to communicate with each other. One socket(node) listens on a particular port at an IP, while other socket reaches out to the other to form a connection. Server forms the listener socket while client reaches out to the server.

Things we should know first

👉 Basics of networking such as what a client is,what a server is,peer to peer communications,what a TCP vs UDP connection is and differences.