Transmission Control Protocol (TCP) / Internet Protocol (Ip)
Transmission Control Protocol (TCP) / Internet Protocol (Ip)
Transmission Control Protocol (TCP) / Internet Protocol (Ip)
INTERNET PROTOCOL(IP)
TCP DEFINITION:
ECN − Explicit Congestion Notification; It carries information about the congestion seen in the route.
Identification − If IP packet is fragmented during the transmission, all the fragments contain same identification number.
Flags − As required by the network resources, if IP Packet is too large to handle, these ‘flags’ tells if they can be fragmented or not. In this 3-bit flag, the MSB
is always set to ‘0’.
Fragment Offset − This offset tells the exact position of the fragment in the original IP Packet.
Time to Live − To avoid looping in the network, every packet is sent with some TTL value set, which tells the network how many routers (hops) this packet can
cross. At each hop, its value is decremented by one and when the value reaches zero, the packet is discarded.
Protocol − Tells the Network layer at the destination host, to which Protocol this packet belongs to, i.e. the next level Protocol. For example protocol number
of ICMP is 1, TCP is 6 and UDP is 17.
Header Checksum − This field is used to keep checksum value of entire header which is then used to check if the packet is received error-free.
Source Address − 32-bit address of the Sender (or source) of the packet.
Destination Address − 32-bit address of the Receiver (or destination) of the packet.
Options − This is optional field, which is used if the value of IHL is greater than 5. These options may contain values for options such as Security, Record
Route, Time Stamp, etc.
TCP/IP COMMUNICATION
The TCP three-way handshake in Transmission Control Protocol (also called the TCP-
handshake; three message handshake and/or SYN-SYN-ACK) is the method used by TCP set up
a TCP/IP connection over an Internet Protocol based network.
EVENT DIAGRAM
Host A sends a TCP SYNchronize packet to Host B
Host B receives A's SYN TCP Three Way Handshake
Host B sends a SYNchronize-ACKnowledgement (SYN,SYN-ACK,ACK)
Host A receives B's SYN-ACK
Host A sends ACKnowledge
Host B receives ACK.
TCP socket connection is ESTABLISHED.
TCP/IP COMMUNICATION
TCP provides reliable communication with something called Positive Acknowledgement with Re-
transmission(PAR). The Protocol Data Unit(PDU) of the transport layer is called segment
Step 1 (SYN) : In the first step, client wants to establish a connection with server, so it sends a
segment with SYN(Synchronize Sequence Number) which informs server that client is likely to start
communication and with what sequence number it starts segments with
Step 2 (SYN + ACK): Server responds to the client request with SYN-ACK signal bits set.
Acknowledgement(ACK) signifies the response of segment it received and SYN signifies with what
sequence number it is likely to start the segments with
Step 3 (ACK) : In the final part client acknowledges the response of server and they both establish a
reliable connection with which they will start the actual data transfer
IP ADDRESS
IP address is an address having information about how to reach a specific host, especially outside the LAN.
An IP address is a 32 bit unique address having an address space of 232.
Generally, there are two notations in which IP address is written, dotted decimal notation and hexadecimal
notation.
Dotted Decimal Notation:
Hexadecimal Notation:
The 32 bit IP address is divided into five sub-classes. These are:
Class A
Class B
Class C
Class D
Class E
SUMMARY OF ADDRESSING
TCP/IP BASED TECHNOLOGIES:
A few technologies are:
• Internet- a global computer network providing a variety of information and communication facilities
• VoIP- Voice over Internet Protocol - the set of rules that makes it possible to use the Internet for
telephone or videophone communication.
• Wireless mobile technology- the technology used for cellular communication.
• Internet broadcasting- simultaneous transmission of the same message to multiple recipients.
• Multihoming- the practice of connecting a host or a computer network to more than one network.
This can be done in order to increase reliability or performance.
THANKYOUUUUUU!!!!
TEAM-
SANDHYA A (17132021)
HARSHITHA B(17133004)
PYLA KOMALI(17133005)