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...")
 
(Switch to {{simgear source}} to fix all the broken Gitorious links.)
 
(One intermediate revision by one other user not shown)
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: {{simgear source|commit=ddd9691439e7f632d927b2b7281b3590bf7219cc|path=simgear/io/socktest.cxx}}<br/>
<br/>
the relevant cmake/build system changes can be seen here: {{simgear source|commit=ddd9691439e7f632d927b2b7281b3590bf7219cc|path=simgear/io/CMakeLists.txt|line=56}}<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>

Latest revision as of 18:42, 10 March 2016

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: flightgear/simgear/ddd9691439e7f632d927b2b7281b3590bf7219cc/simgear/io/socktest.cxx

the relevant cmake/build system changes can be seen here: flightgear/simgear/ddd9691439e7f632d927b2b7281b3590bf7219cc/simgear/io/CMakeLists.txt#l56
Developing_using_CMake


Cquote2.png