Chapter 9

  1. What's the advantage of using communication models?
    Communication models allow you to abstract the type of data handled with your model, making the communications between different endpoints easy.
  2. What's the difference between a TCP and a UDP connection?
    TCP is connection oriented—this makes it reliable because it verifies that the destination receives data correctly before sending new data. A UDP connection sends data continuously, without acknowledging that the destination received the package. This can cause package loss, but it makes the connection faster and does not accumulate latency.
  3. Who closes the request body when sending requests?
    Closing the request when making an HTTP call is the responsibility of the application.
  4. Who closes the body when receiving requests in the server?
    The request body is closed automatically when the connection is closed, but the server can close it even earlier if it so desires.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.91.47