Table of Contents
- Chapter Two - Sockets
- Chapter Three - IP, Structs, Munging
Chapter Two - Sockets
- What are the main types of Internet sockets?
- What is a stream socket?
- What is a datagram socket?
- Which protocol do stream sockets use?
What does this protocol guarantee?
- Which protocol do datagram sockets use?
What does this protocol guarantee?
- Web browsers (HTTP), SSH, and Telnet all use (or are built on top of) which type of socket/protocol pair?
- Live-Service streaming, TFTP, DHCP clients use which protocol?
- What are the trade-offs / pros-cons of TCP vs UDP?
- How do protocols like TFTP ensure reliability on top of UDP?
- Why use TCP instead of UDP and vice versa?
- What is “data encapsulation” in networking?
- Can you give an example of encapsulation?
- Describe what happens when the receiving computer gets a TFTP packet?
- What is the OSI model? (hint: sausage pizzas)
- Define what each layer in the OSI Model does and provide two examples
- Why is the OSI model important?