Say our client is sending the packets at a constant rate. Now, if server goes down temporarily there can be two situations

(We are using the TCP protocol)

1) The packet won't be delivered to the server. Consequently, the other packets in the line have to wait for the server to respond. And the communication can be carried out from there.

2) The packet won't be delivered and will be tried again, but the other packages won't be affected by this packet.

Say, packets A, B and C are to be transferred. While I am sending packet A the server goes down temporarily, then the packets B and C will be sent at the time they were initially scheduled to be or they will be sent once A is received by the server.


What is your question? (I think you need to read up about TCP windows.)

Written by crazyscot

Accepted Answer

TCP is a stream-oriented protocol. This means that if, on a single TCP connection, you send A followed by B then the reciever will never see B until after it has seen A.

If you send A and B over separate TCP connections, then it is possible for B to arrive before A.

Written by caf
This page was build to provide you fast access to the question and the direct accepted answer.
The content is written by members of the community.
It is licensed under cc-wiki