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

Reply via email to