Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Two applications, a client and server, are communicating with each other on the same host machine. The netstar command is executed twice on two separate
Two applications, a client and server, are communicating with each other on the same host machine. The netstar command is executed twice on two separate occasions and produces the following outputs (labelled Figure 2 (i) and Figure 2 (ii)): 1. Proto Recv-Q Send-Q Local Address Foreign Address State 3. tcp 4. tcp 5. tep 0 0 26 0 0 0 147.252.234.34:12345 0.0.0.0:* LISTEN 147.252.234.34:12345 147.252.234.34:44901 ESTABLISHED 147.252.234.34:44901 147.252.234.34:12345 ESTABLISHED Figure 2(1) 1. Proto Recv-Q Send-Q Local Address Foreign Address State 3. top 4. tcp 0 0 0 0 147.252.234.34:12345 0.0.0.0:* LISTEN 147.252.234.34:12345 147.252.234.34:44901 TIME WAIT Figure 2(11) (1) In relation to Figure 2 (i), line 5. You are required to: (a) Identify which application this line refers to, client or server. Justify your answer with reference to the data displayed in the figure. (3 marks) (b) Explain what the number in the Recy-Q column refers to and identify what Primitive must be invoked in the associated application for this number to reduce to zero. (3 marks) In relation to Figure 2 (ii), line 4. You are required to: (ii) (a) Explain the current status of the connection (with reference to the State column) describing the purpose of this state. (4 marks) (b) Identify which of the three Phases of Communications this State relates to. (2 marks) (c) Identify which application (client or server) intiated the sequence of events that caused the connection to arrive at this state and what primitive was invoked. (3 marks) Two applications, a client and server, are communicating with each other on the same host machine. The netstar command is executed twice on two separate occasions and produces the following outputs (labelled Figure 2 (i) and Figure 2 (ii)): 1. Proto Recv-Q Send-Q Local Address Foreign Address State 3. tcp 4. tcp 5. tep 0 0 26 0 0 0 147.252.234.34:12345 0.0.0.0:* LISTEN 147.252.234.34:12345 147.252.234.34:44901 ESTABLISHED 147.252.234.34:44901 147.252.234.34:12345 ESTABLISHED Figure 2(1) 1. Proto Recv-Q Send-Q Local Address Foreign Address State 3. top 4. tcp 0 0 0 0 147.252.234.34:12345 0.0.0.0:* LISTEN 147.252.234.34:12345 147.252.234.34:44901 TIME WAIT Figure 2(11) (1) In relation to Figure 2 (i), line 5. You are required to: (a) Identify which application this line refers to, client or server. Justify your answer with reference to the data displayed in the figure. (3 marks) (b) Explain what the number in the Recy-Q column refers to and identify what Primitive must be invoked in the associated application for this number to reduce to zero. (3 marks) In relation to Figure 2 (ii), line 4. You are required to: (ii) (a) Explain the current status of the connection (with reference to the State column) describing the purpose of this state. (4 marks) (b) Identify which of the three Phases of Communications this State relates to. (2 marks) (c) Identify which application (client or server) intiated the sequence of events that caused the connection to arrive at this state and what primitive was invoked
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started