Multiplayer protocol: Difference between revisions

Jump to navigation Jump to search
no edit summary
(git link to flightgear file. @Hooray: There aren't actually that many, see Special:WhatLinksHere/Template:Repo link)
No edit summary
Line 1: Line 1:
{{Affected by HLA}}
The '''multiplayer protocol''' is the way FlightGear communicates between instances and the [[Howto:Multiplayer|multiplayer]] servers.
The '''multiplayer protocol''' is the way FlightGear communicates between instances and the [[Howto:Multiplayer|multiplayer]] servers.


Line 4: Line 6:


XDR basically means that 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, and floating point numbers (32 or 64 bit) must be encoded as per the IEEE standard.
XDR basically means that 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, and floating point numbers (32 or 64 bit) must be encoded as per the IEEE standard.
== Future Development ==
{{FGCquote
|1= note that Stuarts HLA efforts might render the MP protocol obsolete sooner or later - I think that's finally on the horion.
|2= {{cite web
  | url    = http://forum.flightgear.org/viewtopic.php?p=268376#p268376
  | title  = <nowiki>Military simulation (from Su-15 Screenshots)</nowiki>
  | author = <nowiki>Thorsten</nowiki>
  | date  = Dec 13th, 2015
  | added  = Dec 13th, 2015
  | script_version = 0.23
  }}
}}


== Data types ==
== Data types ==

Navigation menu