What are sockets?

QuestionsCategory: QuestionsWhat are sockets?
Ali asked 6 months ago
  1. Compare TCP sockets with UDP sockets.
  2. Compare selective repeat with Go-Back-N.
  3. Why do we have sequence numbers and acknowledgement numbers? What do they resolve?
  4. What could be the problem of having sequence numbers and acknowledgement numbers starting from 0?
  5. What is the limitation of having only sequence numbers from 0-5 and repeating them?
  6. In TCP we have sequence numbers. When we add 1 to a sequence number, what does that mean -what are we counting?
  7. In the transport layer’s UDP protocol, what header fields are used to send the received data to the correct socket?