[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] Alpha 20 Preperations
From: |
Stéphane Magnenat |
Subject: |
Re: [glob2-devel] Alpha 20 Preperations |
Date: |
Sun, 16 Jul 2006 10:51:24 +0200 |
User-agent: |
KMail/1.9.3 |
> <advocate client="devil">UDP has much lower overhead and you have the
> possibility to drop non-critical packets to the floor, also dropped packets
> (by network congestion) don't stall the whole pipe but can be resent and
> integrated later.</advocate>
Exactly. With UDP, we are able to sustain some packet loss without affecting
the game speed (as every order is sent twice in packet N an packet N+1). This
won't be possible with TCP. Any packet loss will stall the game. Furthermore,
as I said before, UDP is required to trick NAT and firewalls, look at that
article for a scientific analysis :
http://pdos.csail.mit.edu/papers/p2pnat.pdf
So switching to TCP is not impossible, but it is a huge change and should
definitively not happen before 1.0, and even after I think that, for today's
network model, UDP is much better suited for the task. Now, I don't say we
should not write a clean and well documented lib based on the previous
article to encapsulate the UDP complexity and allow syntetic testing of
network layer alone. Such a lib would be very usefull.
Steph
--
http://nct.ysagoon.com
- [glob2-devel] Alpha 20 Preperations, Bradley Arsenault, 2006/07/15
- Re: [glob2-devel] Alpha 20 Preperations, Stéphane Magnenat, 2006/07/15
- Re: [glob2-devel] Alpha 20 Preperations, Bradley Arsenault, 2006/07/15
- Re: [glob2-devel] Alpha 20 Preperations, Bradley Arsenault, 2006/07/15
- Re: [glob2-devel] Alpha 20 Preperations, Bradley Arsenault, 2006/07/15
- Re: [glob2-devel] Alpha 20 Preperations, Bradley Arsenault, 2006/07/15
- Re: [glob2-devel] Alpha 20 Preperations, Bradley Arsenault, 2006/07/15
- Re: [glob2-devel] Alpha 20 Preperations, David Schmitt, 2006/07/16
- Re: [glob2-devel] Alpha 20 Preperations,
Stéphane Magnenat <=
- Re: [glob2-devel] Alpha 20 Preperations, Bradley Arsenault, 2006/07/16
- Re: [glob2-devel] Alpha 20 Preperations, Stéphane Magnenat, 2006/07/16
- Re: [glob2-devel] Alpha 20 Preperations, Kyle Lutze, 2006/07/16
- Re: [glob2-devel] Alpha 20 Preperations, Bradley Arsenault, 2006/07/16
- Re: [glob2-devel] Alpha 20 Preperations, Bradley Arsenault, 2006/07/16
- Re: [glob2-devel] Alpha 20 Preperations, Kyle Lutze, 2006/07/16
- Re: [glob2-devel] Alpha 20 Preperations, Stéphane Magnenat, 2006/07/17
- Re: [glob2-devel] Alpha 20 Preperations, Nuage, 2006/07/17
- Re: [glob2-devel] Alpha 20 Preperations, Kai Antweiler, 2006/07/17
- Re: Re: [glob2-devel] Alpha 20 Preperations, Leo Wandersleb, 2006/07/18