TCP purpose ?
used for transmitting data over the internet
UDP purpose ?
used for transmitting data over the internet
TCP full form ?
Transmission control protocol
UDP full form ?
User Datagram Protocol
Why is TCP a reliable protocol ?
Why is UDP an unreliable protocol ?
What do you mean by “TCP is a connection-oriented protocol” ?
What do you mean by “UDP is a connectionless protocol” ?
Connection does not need to be established before data is transmitted
Why does TCP have a higher overhead than UDP ?
because it includes additional information in each packet to ensure reliability and order.
What are the repurcussions of having a “higher overhead” based protocol ?
What are the repurcussions of a comm protocol having a lower overhead ?
the protocol will be faster but less reliable
What are some use-cases for TCP ?
file transfers, email, and web browsing.
What are some use-cases for UDP ?
TCP vs UDP ? Which one would you choose ?
TCP is a reliable, connection-oriented protocol with higher overhead, while UDP is an unreliable, connectionless protocol with lower overhead. The choice between TCP and UDP depends on the specific application and requirements for reliability and speed.
IPv4 and IPv6
Internet Protocol versions for identifying devices on a network
What is the size of IPV4
IPv4 has a 32-bit address, providing roughly 4 billion unique addresses
What is the size of IPV6 ?
IPv6 has a 128-bit address, allowing for trillions of unique addresses.
Which features make IPV6 more desirable in comparison to IPV4 ?
what is the purpose of an IP ?
It is a numerical label that allows devices to communicate with each other over a network.
What is an IP ?
An IP (Internet Protocol) is a unique identifier assigned to every device that connects to the internet.
Name 2 techniques used for real-time communication between a client and a server
WebSockets and Long Polling
What type of a communication channel does a websocket provide ?
WebSockets is a protocol that provides a persistent, bidirectional communication channel between a client and a server.
Why are websockets designed to work over a single TCP connection ?
To reduce the overhead and latency compared to traditional HTTP requests.
2nd websocket step
If the server supports WebSockets, it sends a response back to the client with an Upgrade header, indicating that the connection has been upgraded to a WebSocket connection.