Re: [Flightgear-devel] socket communication

2012-07-25 Thread Sanny
Thank you very much everyone! I've been reading all your advice, I made this program that sends data to FlightGear and my protocol. #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include /// CLIENT int main(int argc, char *argv[]

Re: [Flightgear-devel] socket communication

2012-06-25 Thread Geoff McLane
Hi Sanny, If you want to communicate via sockets, and 'get' or 'set' properties then this is the page - http://wiki.flightgear.org/Telnet_usage But to expand that a little 1. server - Need to run fgfs with a command - --telnet= This connects fgfs to localhost:port, but the read/write is o

Re: [Flightgear-devel] socket communication

2012-06-24 Thread Viktor Radnai
Hi Sanny, Take a look at this code: http://code.google.com/p/binarymillenium/source/browse/trunk/flightgear/?r=125#flightgear%2Ffgauto The net_fdm.hxx and net_ctrls.hxx files are from Flightgear and define two data structures that can be sent and received by fgfs. In your program you can recei

Re: [Flightgear-devel] socket communication

2012-06-24 Thread Peter Morgan
On Sun, Jun 24, 2012 at 8:28 PM, Sanny wrote: > Yes, thanks. but that shows how the socket server receives data from client > (flightgear) what I want is to send data from server to client (flightgear). > > check this note the "input" and "output" tags http://wiki.flightgear.org/Generic_protocol

Re: [Flightgear-devel] socket communication

2012-06-24 Thread Sanny
Yes, thanks. but that shows how the socket server receives data from client (flightgear) what I want is to send data from server to client (flightgear). 2012/6/24 Jonathan Tanant > Hi Sanny, > > Take a look at this : > http://wiki.flightgear.org/Howto:Create_a_generic_protocol > > Best, > Jonath

Re: [Flightgear-devel] socket communication

2012-06-24 Thread Jonathan Tanant
Hi Sanny, Take a look at this : http://wiki.flightgear.org/Howto:Create_a_generic_protocol Best, Jonathan. Le 24 juin 2012 à 19:04, Sanny a écrit : > > Hello! > > My name is Sanny, i'm ecuadorian, i speak spanish and i'm trying to improve > my english apologize me for this :) > > I'm try