LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 09-21-2004, 01:32 PM   #1
lvxing
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
Unhappy 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 ^^;;
 
Old 09-22-2004, 05:42 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
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)?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Clusters, Network bridging, and AI/AL Simulations... gjsIV Linux - Newbie 1 10-11-2005 02:56 PM
simulations working on slack? roAder Slackware 5 03-01-2005 03:12 PM
TCP simulations lvxing Linux - Networking 2 09-21-2004 06:49 PM
Woody 3.0 Open Ports 1470/tcp/uaiact 1518/tcp/vpvd What for?How can I remove them? alexxxis Debian 5 07-05-2004 06:18 PM
close port 6000/tcp 515/tcp SchwipSchwap Linux - Newbie 1 09-12-2002 09:24 AM


All times are GMT -5. The time now is 07:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration