21 - TCP/IP Stack: Transport Layer Flashcards
What is the Transport Layer?
In short: Breaks files into segments or datagrams & provides addresses/port info + reconstitutes packets on the other end
The service browsers and web serves need to provide:
- The specifics of where the data is going to
- Responsible for getting the data from Process A to Process
Two types of messages at the Transport Layer level
- Datagram (TCP)
- Segment (UDP)
What is a Port?
A port is the destination of where data is going
i.e. web information from google will go to a specific port in your computer
- Types of ports
- Web servers (HTTP) - 80
- Secure web (HTTPS) - 443
- DNS - 53
- Secure Shell (SSH) - 22
What does TCP stand for?
Transmission Control Protocol
What does the TCP do?
Rules used for communications between machines
- Connection oriented
- Three-way handshake
- Handshake also used to terminate a connection
- Slow, but reliable in receiving and transmitting data
What does UDP stand for?
User Data Protocol
What does UDP do?
Fast, but unreliable
- Connectionless
- No three-way handshake
- Packets not guaranteed to arrive or arrive in order
What does the Default Gateway do?
Router that provides access to networks outside of the local network (i.e. the Internet)