Howto talk:Parsing binary data received via UDP in C: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Created page with "== TODO == {{FGCquote |To be really useful in the long-term, it would be great to make this cross-platform, and maybe getting it committed to $FG_SRC/contrib - the easiest w...")
 
mNo edit summary
Line 1: Line 1:
== TODO ==
== TODO ==
{{FGCquote
{{FGCquote
   |To be really useful in the long-term, it would be great to make this cross-platform, and maybe getting it committed to $FG_SRC/contrib - the easiest way for making this platform agnostic would probably be using the SimGear SGSocketUDP API: [http://api-docs.freeflightsim.org/simgear/classSGSocketUDP.html http://api-docs.freeflightsim.org/simge ... etUDP.html]<br/>
   |Feel free to get in touch if you need help using the wiki or adding your code there (a few more comments, and maybe a complete/self-contained snippet of code might be a good idea).<br/>
<br/>
<br/>
You'll find a self-contained unit test that you can easily adapt to add your own code here: [https://gitorious.org/fg/simgear/source/ddd9691439e7f632d927b2b7281b3590bf7219cc:simgear/io/socktest.cxx https://gitorious.org/fg/simgear/source ... cktest.cxx]
To be really useful in the long-term, it would be great to make this cross-platform, and maybe getting it committed to $FG_SRC/contrib - the easiest way for making this platform agnostic would probably be using the SimGear SGSocketUDP API: [http://api-docs.freeflightsim.org/simgear/classSGSocketUDP.html http://api-docs.freeflightsim.org/simge ... etUDP.html]<br/>
<br/>
You'll find a self-contained unit test that you can easily adapt to add your own code here: [https://gitorious.org/fg/simgear/source/ddd9691439e7f632d927b2b7281b3590bf7219cc:simgear/io/socktest.cxx https://gitorious.org/fg/simgear/source ... cktest.cxx]<br/>
<br/>
the relevant cmake/build system changes can be seen here: [https://gitorious.org/fg/simgear/source/ddd9691439e7f632d927b2b7281b3590bf7219cc:simgear/io/CMakeLists.txt#L56 https://gitorious.org/fg/simgear/source ... ts.txt#L56]<br/>
[[Developing_using_CMake]]
   |{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=227411#p227411
   |{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=227411#p227411
     |title=<nowiki>Re: Parsing Binary Data from FG Received via UDP in a C++ Ap</nowiki>
     |title=<nowiki>Re: Parsing Binary Data from FG Received via UDP in a C++ Ap</nowiki>

Revision as of 17:20, 17 December 2014

TODO

Cquote1.png Feel free to get in touch if you need help using the wiki or adding your code there (a few more comments, and maybe a complete/self-contained snippet of code might be a good idea).


To be really useful in the long-term, it would be great to make this cross-platform, and maybe getting it committed to $FG_SRC/contrib - the easiest way for making this platform agnostic would probably be using the SimGear SGSocketUDP API: http://api-docs.freeflightsim.org/simge ... etUDP.html

You'll find a self-contained unit test that you can easily adapt to add your own code here: https://gitorious.org/fg/simgear/source ... cktest.cxx

the relevant cmake/build system changes can be seen here: https://gitorious.org/fg/simgear/source ... ts.txt#L56
Developing_using_CMake


Cquote2.png