Transport Layer Flashcards
what does the transport layer do?
Establish communication between processes
whats the clien/server process?
Client process initiates communication
server process passively awaits communication
How do we address processes ?
Processes must have a 32bit identifier wich includes the host ip and the process ports
Whats Multiplexing?
agreggating the different messages from multiple sockets into one message with a header
whats demultiplexing?
Parsing the received message into diferent segments and sending them to the corresponding sockets (via the specified ports)
wich protocols does the internet use?
TCP and UDP
what are the advantages of TCP?
connection oriented, reliable, secure, garantues in order delivery , flow and congestion control
what are the basic operations for a TCP sender?
application data is broken into segments, tcp uses a timer to send segments and wait for ACK
unACK segemnts are retransmitted
what are the basic operations for a TCP receiver?
detect errors during checksum,
ack data
assemble segments in correct order, duplicated segments are discarded
how many segments are necessary exchange in a connection establishemnt (TCP)
3: SYN, SYN+ACK
How many segments are necessary for closing a connection ? (TCP)
4 : FIN FIN ACK ACK