Multiplayer protocol: Difference between revisions

Jump to navigation Jump to search
m
Rearrange order
m (Rearrange order)
Line 1: Line 1:
== The messages ==
All messages are composed of XDR encoded data. (see [http://www.faqs.org/rfcs/rfc1832.html RFC 1832] for a complete description of XDR). XDR basically means: All data is in network byte order and aligned to the nearest multiple of 4 bytes. Strings are encoded as a zero-terminated array of characters,aligned to the nearest multiple of 4 bytes. Floating point numbers (32 or 64 bit) must be encode in the IEEE standard.
FlightGear uses XDR encoded messages that are sent via UDP.
== Resources ==
== Resources ==


Line 26: Line 20:


http://forum.flightgear.org/viewtopic.php?f=18&t=13510&hilit=development+help+xdr#p136501
http://forum.flightgear.org/viewtopic.php?f=18&t=13510&hilit=development+help+xdr#p136501
== The messages ==
All messages are composed of XDR encoded data. (see [http://www.faqs.org/rfcs/rfc1832.html RFC 1832] for a complete description of XDR). XDR basically means: All data is in network byte order and aligned to the nearest multiple of 4 bytes. Strings are encoded as a zero-terminated array of characters,aligned to the nearest multiple of 4 bytes. Floating point numbers (32 or 64 bit) must be encode in the IEEE standard.
FlightGear uses XDR encoded messages that are sent via UDP.


== The header ==
== The header ==
139

edits

Navigation menu