LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   TCP simulations (https://www.linuxquestions.org/questions/programming-9/tcp-simulations-233414/)

lvxing 09-21-2004 12:32 PM

TCP simulations
 
When i use NS2 to simulate some TCP trasfer
I found that i always got some gap between the first SYN packet & the second data packet.
And the ridiculous thing is, if i increase the bandwidth or decrease the link delay, the gap will get larger( can up to 10+ seconds ).

Does any1 got real experience about the TCP transfer? Is this something like TCP's feature or just the unstable case at the beginning?
If it is TCP's feature, in real cases, if i reset the TCP connection by doing close/open, will the gap appears in the following trasmission? ( i got diff results under diff protocols. They implemented the reset method differently )

Thanks a lot ^^;;

Mara 09-22-2004 04:42 PM

Well, there's a delay, because SYN+ACK answer must be received. Not sure why it's larger when you increase bandwith. It may happen if the traffic increases at the same time.

Don't understand what you mean by TCP reset. DO you mean sending RST and closing it cleanly or just stop responding (the the situation is a bit different)?


All times are GMT -5. The time now is 05:34 AM.