Module 05 - TCP and UDP Communication
Module 05 - TCP and UDP Communication
azaj.ikbal
Agenda
Layer - 7 Application
User support Layers
Layer - 6 Presentation or
Software Layers
Layer - 5 Session
Layer - 3 Network
Network support Layers
Layer - 2 Data Link or
Hardware Layers
Layer - 1 Physical
Role of the Transport Layer
Tracking the Conversations
Segmentation
Identifying the Application
Transport Layer Services
Transport Layer Reliability
Transport Layer Protocol
Transport Layer Protocols
TCP UDP
Example: FTP, SMTP, HTTP, SSH Example: SNMP, DHCP, TFTP, VoIP
Segment Size of Transport Layer
TCP Segment
TCP Segment Details
Source Port (16 bits) and Destination Port (16 bits)
o Used to identify the application
Sequence number (32 bits)
o Used for data reassembly purposes.
Acknowledgment number (32 bits)
o Indicates the data that has been received.
Header length (4 bits)
o Known as ʺdata offsetʺ. Indicates the length of the TCP segment header.
Reserved (6 bits)
o This field is reserved for the future.
Control bits (6 bits)
o SYN, ACK, URG, FIN, PSH, RST 6 Controls bits for function of the TCP segment .
Window size (16 bits)
o Indicates the number of bytes that can be accepted at one time.
Checksum (16 bits)
o Used for error checking of the segment header and data.
Urgent (16 bits)
Indicates if data is urgent.
UDP Header Size (8 Bytes)
Well-Know Port TCP and UDP Port List
Transmission Control Protocol (TCP)