Question: Two applications, a client and server, are communicating with each other on the same host machine. The netstat command is executed twice on two separate

Two applications, a client and server, are communicating with each other on the same host machine. The netstat command is executed twice on two separate occasions and produces the following outputs (labelled Fi gure 2(i) and Figure 2(ii)):

1. Proto

Recv-Q

Send-Q

Local Address

Foreign Address

State

2.

3. tcp

0

0

147.252.234.34:12345

0.0.0.0:*

LISTEN

4. tcp

0

0

147.252.234.34:12345

147.252.234.34:44901

ESTABLISHED

5. tcp

26

0

147.252.234.34:44901

147.252.234.34:12345

ESTABLISHED

Figure 2(i)

1. Proto

Recv-Q

Send-Q

Local Address

Foreign Address

State

2.

3. tcp

0

0

147.252.234.34:12345

0.0.0.0:*

LISTEN

4. tcp

0

0

147.252.234.34:12345

147.252.234.34:44901

TIME WAIT

Figure 2(ii)

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. b)Explain what the number in the Recv-Q column refers to and identify what Primitive must be invoked in the associated application for this number to reduce to zero.

2. In relation to Figure 2(ii), line 4. You are required to:

a)Explain the current status of the connection (with reference to the State column) describing the purpose of this State. b)Identify which of the three Phases of Communications this State relates to. 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!