In: Computer Science
A common protocol stack used by many applications is to use TCP at the transport layer and IP at the network layer. The ICMP protocol is also used to report on problems encountered by IP.
Ans- ICMP: is an integral part of IP and must be implemented by every Ip. the ICMP report the error in the processing of datagram. there are based on two important point .
1. Error handeling or Feedback messaging.
2. Request and Reply
TCP: Transmission Control Protocol is a set of standardized rules allow the computer to communicate on a network as the internet. it is following important points.
IP- it is define IP address of protocol. which uses IP communication of routing function and internet. tcp and Ip both are allow source and destination.
TCP implement for IP 's deficiencies by providing reliable ,stream- oriented connections that hide most of IP. The protocol refear most Tcp/Ip protocol are based onTcp , the TCP/IP are twin pillars of TCP/IP. it is used unix operating .
Segment Format- is used 32 bit words and 20byte header.
Source port number- it identifies the port number of sender it is a 16 bit field.
Destination port number- it idetifies the port number of recieving application .it is a 16 bit field.
Sequence Numbers- is a 32 bit field.tcp assign unique sequence number to each byte of data of segment .
TCP header conatins the first byte's sequence number.
Round -Trip Time Estimation- round -trip time estimation is perform parameter of tcp .it is used low packets retransmit.if too high connection can sit idle while the host waits to timeout.