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

From FlightGear wiki
Jump to navigation Jump to search
mNo edit summary
(Switch to {{simgear source}} to fix all the broken Gitorious links.)
 
Line 6: Line 6:
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/>
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/>
<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/>
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/>
<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/>
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]]
[[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

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