Skip to content
Snippets Groups Projects
Select Git revision
  • d256c28b5444d97991e9f7b3a9a3e4280e1144dc
  • main default
  • master
3 results

questions.md

Blame
  • vyvyvyThao's avatar
    Wendy Nguyen authored
    d256c28b
    History
    questions.md 913 B
    1. How does the remote client determine when a command's output is fully received from the server, and what techniques can be used to handle partial reads or ensure complete message transmission?

    answer here

    1. This week's lecture on TCP explains that it is a reliable stream protocol rather than a message-oriented one. Since TCP does not preserve message boundaries, how should a networked shell protocol define and detect the beginning and end of a command sent over a TCP connection? What challenges arise if this is not handled correctly?

    answer here

    1. Describe the general differences between stateful and stateless protocols.

    answer here

    1. Our lecture this week stated that UDP is "unreliable". If that is the case, why would we ever use it?

    answer here

    1. What interface/abstraction is provided by the operating system to enable applications to use network communications?

    answer here