Question 10 2.7-3 TCP client-side socket actions. Match the general client-side action stated with the specific TCP socket-related action that implements it. Create a socket. When sending to a server, this is how a specific server is identified. Send to server, using this socket. A. Use the call socket (AF_INET, SOCK_STREAM) B. The client uses connect() to explicitly bind its socket to specific server, and so the server IP address and port number need not be explicitly stated in a send operation C. Send using the socket created using sockes (AF_INET, SOCK STREAM) D. Use the call socket (AF_INET, SOCK_DGRAM) E. As the result of an accept (), a new socket is created, which binds the client and server together via this new socket without the need to to explicitly specify the destination IP address and port #when sending F. Send using a socket not explicitly created via a call to sockes () G. Send using the socket created using socket (AF_INET, SOCK_DGRAM) H. The client must explicitly include the server's IP address, port #, when sending

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Question 10
2.7-3 TCP client-side socket actions. Match the general client-side action stated with the specific TCP socket-related action that implements it.
✓ Create a socket.
✓ When sending to a server, this is how a specific server is identified.
✓ Send to server, using this socket.
A. Use the call socket (AF_INET, SOCK_STREAM)
B. The client uses connect() to explicitly bind its socket to specific server, and so the server IP address and port number need not be explicitly stated in a send
operation.
C. Send using the socket created using socket (AF_INET, SOCK_STREAM)
D. Use the call socket (AF_INET, SOCK_DGRAM)
E. As the result of an accept (), a new socket is created, which binds the client and server together via this new socket without the need to to explicitly specify
the destination IP address and port # when sending
F. Send using a socket not explicitly created via a call to socket ()
G. Send using the socket created using socket (AF_INET, SOCK_DGRAM)
H. The client must explicitly include the server's IP address, port #, when sending
Transcribed Image Text:Question 10 2.7-3 TCP client-side socket actions. Match the general client-side action stated with the specific TCP socket-related action that implements it. ✓ Create a socket. ✓ When sending to a server, this is how a specific server is identified. ✓ Send to server, using this socket. A. Use the call socket (AF_INET, SOCK_STREAM) B. The client uses connect() to explicitly bind its socket to specific server, and so the server IP address and port number need not be explicitly stated in a send operation. C. Send using the socket created using socket (AF_INET, SOCK_STREAM) D. Use the call socket (AF_INET, SOCK_DGRAM) E. As the result of an accept (), a new socket is created, which binds the client and server together via this new socket without the need to to explicitly specify the destination IP address and port # when sending F. Send using a socket not explicitly created via a call to socket () G. Send using the socket created using socket (AF_INET, SOCK_DGRAM) H. The client must explicitly include the server's IP address, port #, when sending
2.2.10 Browser Caching (1). Consider the following scenario, in which a Web browser (lower) connects to a web server (above). There is no web cache in this question (so make sure you understand the difference between a browser cache and a web cache). Assume that the total Round Trip Time (RTT) propagation an
queueing delay between the browser and web server is 200 msec.
HTTP server
HTTP browser
with browser cache
Suppose that the browser makes an HTTP request to the server for an HTTP object, that the browser has a copy of that object in its cache, but that copy may or may not be up-to-date in its cache (and so the browser requests the object using the HTTP If-Modified-Since header field). Assume that the time taken to
transmit an HTTP reply (by the sender into the TCP connection) that contains a requested object in the body of an HTTP reply is 50 msec, but that the time taken to transmit a HTTP reply with a "304 Not Modified" reply code without an included object is negligible (e.g., zero). You can assume that a TCP connection ha
already been set up, so do not include that delay in your answer below.
What is the time from when the browser issues the initial HTTP GET request until it is able to display the requested object in the case that the browser does not have the requested object in its browser cache?
O 100 msec
O 250 msec
O 300 msec
O200 msec
O 500 msec
O 350 msec
O 550 msec
Transcribed Image Text:2.2.10 Browser Caching (1). Consider the following scenario, in which a Web browser (lower) connects to a web server (above). There is no web cache in this question (so make sure you understand the difference between a browser cache and a web cache). Assume that the total Round Trip Time (RTT) propagation an queueing delay between the browser and web server is 200 msec. HTTP server HTTP browser with browser cache Suppose that the browser makes an HTTP request to the server for an HTTP object, that the browser has a copy of that object in its cache, but that copy may or may not be up-to-date in its cache (and so the browser requests the object using the HTTP If-Modified-Since header field). Assume that the time taken to transmit an HTTP reply (by the sender into the TCP connection) that contains a requested object in the body of an HTTP reply is 50 msec, but that the time taken to transmit a HTTP reply with a "304 Not Modified" reply code without an included object is negligible (e.g., zero). You can assume that a TCP connection ha already been set up, so do not include that delay in your answer below. What is the time from when the browser issues the initial HTTP GET request until it is able to display the requested object in the case that the browser does not have the requested object in its browser cache? O 100 msec O 250 msec O 300 msec O200 msec O 500 msec O 350 msec O 550 msec
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps

Blurred answer
Knowledge Booster
Network Protocols
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education