View Full Version : TCP or UDP?
X-Ter
2nd November 2005, 07:00
When testing my bandwidth using a tool called TPTest, I get results in both UDP and TCP. These result (if I understood it right) can be entered into the server field that says:
Maximum Upload (kbit / sec):
But witch of the two values should I enter? The result for TCP or the result for UDP? They don't differ much, but I get a better value for UDP.
the_angry_angel
2nd November 2005, 08:39
Ideally you should use the TCP value.
The majority of the LFS traffic uses that, with the exception of positioning; which uses UDP.
X-Ter
2nd November 2005, 14:40
Thank you :)
The manual lacked this little bit of info :)
dUmAsS
2nd November 2005, 17:18
Ideally you should use the TCP value.
The majority of the LFS traffic uses that, with the exception of positioning; which uses UDP.
although positioning is the most important ;)
M.Mos
2nd November 2005, 18:33
I'll try to show the differnces in TCP/UPD with my limited knowlege ;)
TCP and UDP both are protocols for transfering IP packets.
UDP (User Datagram Protocol) works 'connectionless' it sends out the IP packets and did not check or validate they are actualy received (fire & forget).
TCP (Transmission Control Protocol) works connectingoriented, it guaranteed the transmission of the packets, make sure they are put together in the right order and has a checksum function to make sure the information inside the packets has not changed. If a packet gets lost it will be retransmited.
TagForce
3rd November 2005, 16:37
It doesn't matter which of the two you enter... The only difference is that TCP also takes a little of the download bandwidth away (because each received packet on the other side is answered with an "ack" packet).
Maximum upload in kbits is independent of the packets... It's just how many bits per second your connection can send. Mine is 1000 Kbit per second... Sending in UDP or TCP doesn't matter, it's still 1000 Kbit. The only difference between the two is the amount of useful data that fits in 1000 Kbit/s.
X-Ter
3rd November 2005, 17:52
On paper, I also have 1Mbit upload speed, but the sad truth is that the internet isn't always at it's best, and so I preffer to play it safe and meassure actualy speed to servers in various places on the globe. I find that I an upload speed of little about 850 kbits / sec is what I should set it to, if I like to serve safe even for people in Australia or the US westcoast.
With that setting I can still serve 17 cars and have 23 guests, witch should be more than ok for the long endurance event's that SCORE will serve during 2006 :)
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.