subject

Let us consider a concurrent server. Clients connect to the server using the TCP protocol and exchange data. The server is connected to two different networks through two interfaces, IFA and IFB with IP addresses 128.120.56.35 and 128.120.55.1, respectively. We consider two different clients, referred as Host A andHost B with IP addresses 192.132.54.66 and 214.77.91.10, respectively. The server uses port number 80. The kernel in the server maintains a table for each socket descriptor and each table has the following entries: In this question you are asked to list all the tables and their contents as clients connect to the server.
socket descriptor
remote host
remote port
local host
local port
Assume that socket descriptors are assigned from the sequence of integers starting from 1 and for simplicity we will assume that once a descriptor is assigned it is not used any more. Similarly, ephemeral port numbers in clients are chosen starting from 15000 and once a port number is assigned it is not used any more.
1. List the tables in the kernel and their contents, when the server is first started and before any client request arrives.
2. List the tables and their contents when host A connects to the server through interface A (IFA) and is accepted by the server.
3. List the tables and their contents when host B connects to the server through interface UFB) and is accepted by the server.
4. List the tables and their contents after a second request is received from host B arrives through interface B (IFB) and is accepted by the server.
5. List the tables and their contents when the request from Host A is completely processed and the associated socket is closed.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:00
What is stored in str after the following code executes? string str = "computer science"; int i = 0; while (i < 8) { if (str.indexof("m") < i) { str = str.substring(0, 2) + str; } i += 2; } computer science cocomputer science cococomputer science cocococomputer science computer scienceco
Answers: 3
question
Computers and Technology, 21.06.2019 23:00
Fast sportcars the top speeds of sportscars, given in miles per hour, are: 155 mph bmw m5 217 mph lamborghini aventador spyder 205 mph ferrari 488 205 mph nissan gtr 197 mph chevrolet corvette stingray zr1 258 mph bugatti veyron supersport 195 mph dodge viper 270 mph hennessey venom 155 mph bmw m3 195 mph mercedes sl given: topspeeds=[155; 217; 205; 205; 197; 258; 195; 270; 155; 195]; carnames=string(["bmw m5" "lamborghini aventador spyder" "ferrari 488" "nissan gtr" "chevrolet corvette stingray zr1" "bugatti veyron supersport" "dodge viper" "hennessey venom" "bmw m3" "mercedes sl"]); the variable is a rectangular array. write a function called selectcars to identify cars with the top speed within a given range, and display the identified names. the selected cars speed will be in a range given by lowerbound < speed < upperbound. inputs to the function selectcars are: a column array os all car top speeds named topspeeds, the corresponding chara
Answers: 2
question
Computers and Technology, 22.06.2019 20:00
What statement best describes operating systems? itā€™s possible for modern computers to function without operating systems. most operating systems are free or very inexpensive. operating systems are managed by the computerā€™s microprocessor (cpu). operating systems manage the computerā€™s random access memory (ram).
Answers: 1
question
Computers and Technology, 23.06.2019 11:20
Http is the protocol that governs communications between web servers and web clients (i.e. browsers). part of the protocol includes a status code returned by the server to tell the browser the status of its most recent page request. some of the codes and their meanings are listed below: 200, ok (fulfilled)403, forbidden404, not found500, server errorgiven an int variable status, write a switch statement that prints out the appropriate label from the above list based on status.
Answers: 2
You know the right answer?
Let us consider a concurrent server. Clients connect to the server using the TCP protocol and exchan...
Questions
question
Mathematics, 30.06.2019 00:00
question
History, 30.06.2019 00:00
Questions on the website: 13722363