Level 1 protocolIn level 1 protocol there is field "16b Lengte bericht". I
assume this is length of whole packet.

But if this data are being send with UDP protocol, this information is
avaible from UDP header ( and it's easily accessible ) - so there is no
reason to include this value in level 1 packet.



With UDP packet size there is also involved something like MTU (maximum
transmission unit). This value determines maximum packet size witch can be
send thru network without fragmentation. Fragmentation means that packet
divided into more IP packets, and receiving computer has to assembly those
subpackets to full UDP packet.

This implies three things.

1) When fragmentation occurs, there is more thata being send thru network -
which is bad.

2) There is additional delay, becouse router needs to divide packet - and it
takes time

3) Most important - When one of those subpackets is lost then whole UDP
packet is lost (Even thou your computer has received every but one packet).
So you received information about 9 planes, but becouse info for 1 plane has
been lost - you lost information for all 10 planes.

Best solution would be to check MTU for connection (there is no direct way
to do it for IPv4 - but mayby there is some hack - i don't know). In IPv6
checking MTU is mandatory - so you must do it - there is also defined
minimal supported MTU (but i don't remember value right now).



One more thing - compression. Becouse of possibility of packet lost you need
to compress each packet independly (size 50-200 bytes). And I have real
doubts that classical compression (like gzip, bzip2) will work without
increasing packet size.



Before you continue to work on creating this protocol, I think you should
play Warbirs 2.7x. You can do it for free on Russian server
http://home.udmnet.ru/aike/. Play for 2 weeks. After that you will have real
understanding of what needs to be done.

In short - these should be your minimal goals:

1) 200 players

2) Each player connected with max. 21 kb (modem connection).

3) Ping 600 ms and more - and game is playable

4) Plane warping, after huge packet lost



IMHO this protocol you proposed right know, dosn't have any chance to achive
those goals.



With best regards, Artur Kornacki





_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to