Which osi layer is responsible for end to end the communication and flow control
Transport layer
Pdu at layer 4
Segments or datagram
Two main protocols at layer 4
TCP on udp
What makes TCP connection oriented
Establishes connection first using the three-way handshake (SYN ,SYN-ACK , ACK)
Order of the TCP three-way handshake
SYN SYN-ACK ACK
Three big things TCP guarantees that udp does not
Reliable delivery,ordered delivery , error checking/ retransmission
Udp is best for what kind of applications
Speed-critical/ loss tolerant streaming , VoIP , online gaming
What does TCP use to put segments back in the correct order
Sequence numbers
What does TCP use to control how much data the sender can send
Window size / sliding window (flow control)
What does TCP do when it detects lost or corrupted segments
Retransmits them
Port number are added at which layer
Layer 4
Firewalls that filter by port numbers operate primarily at which layer
Layer 4
TCP vs UDP , what does TCP have that UDP doesnt
Handshake , ACKs and retransmission
Protocol used for DNS queries by default
UDP port 53(fast) - falls back to TCP if response is too big
Which Protocol does HTTPS run on top of
TCP port 443