Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

=+ Is the information documented and verifiable?

Answered: 1 week ago