TCP/IP BOOT CAMP
TCP/IP is a family of protocols that help the internet to operate. The name comes from its two most well-known protocols: TCP and IP. TCP stands for Transmission Control Protocol, TCP software transmits data between machines using segments, which are also called TCP packets. The main characteristic of TCP is that it is a reliable protocol, which means that it makes sure that a packet was delivered without needing any extra code from the programmer. If there is no proof of packet delivery, TCP sends that particular packet again – this continues until there is proof of delivery.
When a TCP connection is made between two machines, a full duplex virtual circuit, similar to a phone call, is created between those two machines. They constantly communicate to make sure data is sent and received correctly. If the connection fails for some reason, the two machines try to find the problem and report to the relevant application. The TCP header of each packet includes the source port and destination port fields. These two fields, plus the source and destination IP addresses, are combined to uniquely identify every TCP connection. All these details are handled by TCP/IP as long as you provide the required details without any extra effort.
IP stands for Internet Protocol and it is not a reliable protocol by nature. IP encapsulates the data that travels over a TCP/IP network because it is responsible for delivering packets from the source host to the destination host according to the IP addresses. IP must find an addressing method for sending a packet to its destination effectively.