Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. A TCP client is in the ESTABLISHED state. Answer the following question: a. T

ID: 3852730 • Letter: 1

Question

1. A TCP client is in the ESTABLISHED state. Answer the following question:

a. The TCP receives a close command from the application, what TCP packet is sent?

b. What is the state of the TCP connection after sending the packet in part a ?

.

2. Answer the following questions:

a. Does SCTP use one single stream or multiple streams?

b. Which transport-layer protocol is more appropriate for audio and video, TCP or STCP?

c. Does SCTP uses segments or packets?

.

3. An SCTP client is in the Established State. A Close message is received. Answer the following:

a. What is the next state?

b. What is sent out?

Explanation / Answer

Answer:

Q. 1. a)

If the TCP receives a close command from the application, the client TCP sends a segment with FIN bit set to request that the connection is closed.

Q. 1. b)

The client TCP sets a FIN bit whenever TCP receives a close command from the application, the next state is FIN-WAIT-1.

Q. 2. a)

Stream Control Transmission Protocol (SCTP) uses multiple streams in parallel.

Q. 2. b)

SCTP is more suitable for voice video communication.

Q. 2. c)

SCTP uses packets.

Q. 3. a)

If the SCTP client is in established state, a close message is received from the application, the next state is SHUTDOWN-PENDING

Q. 3. b)

If the SCTP client is in established state, a close message is received from the application, the next state is SHUTDOWN-PENDING. The packet to be sent out is outstanding DATA.