Bits & Bytes: Week 3, I - Transport Layer Flashcards
Gathering data from multiple application processes of sender, enveloping that data with header and sending them as a whole to the intended receiver
Multiplexing
Delivering received segments at receiver side to the correct app layer processes
Demultiplexing
A 16-bit number that’s used to direct traffic to specific services running on a networked computer
a Port
What is the traditional HTTP port on a computer?
Port 80
A program running on a computer whose job is waiting to be asked for data
A server or service
What is the general term for the following:
10.1.1.100:80
A socket number or socket port
ACRONYM:
FTP
File Transfer Protocol
Which port is used to connect to an FTP server?
Port 21
What encapsulates an IP Datagram?
An ethernet frame
What encapsulates a TCP segment?
an IP datagram
What is the equivalent of an IP Datagram or Ethernet frame in the Transport Layer?
a TCP segment
What part of the TCP header contains the port number of the service the data is being sent to? How many bits?
The destination port field; 16 bits
What part of the TCP header is a high numbered port chosen from a special section of ports known as ephemeral ports? How many bits?
The source port field; 16 bits
When a web server replies, it is this part of the TCP header’s job to send the data to the correct program (for example, a browser instead of a wifi printer)
The source port field
This part of the TCP header is a number that keeps track of where in a sequence of TCP segments this segment is supposed to be. How many bits?
the Sequence number; 32 bits
This part of the TCP header is a number that represents the following segment to the current one.. How many bits?
the Acknowledgement number; 32 bits
How many bytes can be sent in an ethernet frame?
1518 bytes
What part of the data offset field of the TCP header communicates the length of the header so the receiving device knows when the data payload begins? How many bits?
the Header Length Field; 4 bits
What are the two parts of a TCP Segment?
The TCP Header and the data section
How many TCP control flags are there in a TCP segment?
There are 6; making up a 6 bit field
TCP protocol is very reliant on ________________ to make sure everything is being received
Acknowledgements
What part of the TCP segment contains the range of a sequence of numbers that might be sent before the receiver needs to return an acknowledgement? How many bits?
The window; 16 bits
What follows the window in a TCP segment?
The checksum
What is the checksum checking?
The checksum checks to make sure all of the data in a segment made it to the destination without data loss or corruption.
What 2 parts of the TCP segment are rarely, if ever, used? How many bits are they each?
the Urgent field and the Options field; 16 bits each
What is the field that immediately precedes the payload of a TCP segment?
The padding field
Which field of the TCP segment ensures that the data payload begins at the expected location?
The padding field
What is in the padding field?
a sequence of zeros
What field is mostly not used except for in very complicated control protocols?
The Urgent Field
How many TCP control flags are there?
6
A value of one (1) in this TCP Control flag area indicates that the segment is considered urgent
URGent