Posts

Showing posts from September, 2023

What is a Socket?

Image
Socket acts as an endpoint to communicate two computers with one another in a computer network. When two applications running on two different machines want to send data, a socket is used to transfer by connecting ports on the machines through their IP addresses. It is executed by the transport layer such as a TCP/IP model or OSI model using protocols like TCP, and UDP. The client sends a request to the server by establishing a connection through the server port and its IP address. Socket address is the combination of socket and IP address. For example, the IP address is 10.10.10.10 and the port number is 80, so the socket address is 10.10.10.10:80. There are three types of sockets available: a) Stream socket (Connection-oriented): Error-free, reliable, and bidirectional. It uses Transmission Control Protocol (TCP) to deliver sequential packets by establishing a connection. Applications used here are Telnet/SSH, HTTP, HTTPS, etc. b) Datagram socket (Connectionless): This type of soc

Who invented the Internet?

Image
 The Internet is familiar to everyone. We know that it is difficult to survive without them. But, have you ever had thoughts on who invented the internet? A short history of how the internet was born. Lawrence Roberts and Leonard Kleinrock worked together in the Advanced Research Project Agency (ARPA) in America. Roberts was the first to connect two computers by developing the packet-switching network in 1969. By using this, Kleinrock was able to transfer data to another site. This is how the ARPANET was born. “Bob Kahn” and “Vint Cerf” are the ones who developed the TCP/IP in 1974. American computer scientists developed this set of protocols governing how data moves through a network. Vint Cerf has the credit of the first written word ‘The Internet’. When asked to explain my role in the creation of the Internet, I generally use the example of a city. I helped to build the roads—the infrastructure that gets things from point A to point B. -Vint Cerf, 2007 No one invented the inter