Hi, On Fri, Oct 13, 2006 at 09:39:40AM -0300, Thiago Holanda wrote: > Hello Holger, > > This error is because you are using TCP and you don?t have a SERVER > application running in the 5555 port, 127.0.0.1 IP to connect with > Flightgear. > > Two way to resolve: > 1 - Make a server app that is running to connect with FG, before you launch > the FG; > 2 - Change to UDP socket;
Argh - I'm a id**t... ok. Yes works now with UDP. Thanks, Holger > > Regards, > > Thiago Holanda > > On 10/13/06, Holger Wirtz <[EMAIL PROTECTED]> wrote: > > > >Hi, > > > >I am testing around with the external protocols and made a simple > >defintion in ca file called > >"/usr/share/games/FlightGear/Protocol/test.xml": > > > >--- cut here --- > ><?xml version="1.0"?> > > > ><PropertyList> > > > ><generic> > > > > <output> > > <line_separator>newline</line_separator> > > <var_separator>,</var_separator> > > > > <chunk> > > <name>comm1frq</name> > > <type>float</type> > > <format>COM1-FRQ: %f</format> > > <node>/instrumentation/comm/frequencies/selected-mhz</node> > > </chunk> > > > > </output> > > > ></generic> > > > ></PropertyList> > >--- cut here --- > > > >When I run fgfs and write the data into a file it works > >(running with "fgfs --generic=file,out,5,test.dat,test") > > > >But running with sockets I got: > > > >--- cut here --- > >$ bin/fgfs --generic=socket,out,5,127.0.0.1,5555,tcp,test > >Error reading properties: > >Failed to open file > >at /home/server/wirtz/.fgfs/autosave.xml > >(reported by SimGear XML Parser) > >freeglut (fgfs): Unable to create direct context rendering for window > >'FlightGear' > >This may hurt performance. > > Model Author: Unknown > > Creation Date: 2002-01-01 > > Version: $Id: c172p.xml,v 1.17 2006-03-13 15:27:14 ehofman Exp $ > > Description: Cessna C-172 > >Httpd server started on port 5050 > >Error: connect() failed in make_client_socket() > >SG_IO_OUT socket creation failed > >Error opening channel communication layer. > >I/O Channel config failed. > >--- cut here --- > > > >Hm. Maybe there has to be a listerner on port 5555? > > > >BTW: I had an error in the XML definition of the protocol and I got a > >SIG_FAULT... :-( > > > >Regards, Holger > > > >-- > >##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 > >## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 > >## ## #### ###### Stresemannstr. 78 E-Mail: [EMAIL PROTECTED] > >## ## ## ## ### 10963 Berlin > >##### ## ## ## GERMANY WWW : http://www.dfn.de > >GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF > > > >------------------------------------------------------------------------- > >Using Tomcat but need to do more? Need to support web services, security? > >Get stuff done quickly with pre-integrated technology to make your job > >easier > >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >_______________________________________________ > >Flightgear-devel mailing list > >Flightgear-devel@lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/flightgear-devel > > > > > > -- > "Antes de magoar um coração, veja se não está dentro dele. Pois se um dia > chorei, não foi porque perdi e sim porque amei." > Que a paz esteja contigo. > > Thiago Holanda. > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel -- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: [EMAIL PROTECTED] ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel