Stuart, On Thu, Oct 26, 2006 at 04:09:02PM +0100, Stuart Buchanan wrote: > --- Holger Wirtz wrote: > > Hello, > > I tried the following, which results in an error: > > > > $ /usr/games/fgfs --generic=socket,bi,2,localhost,9999,tcp,fg_sqawk.xml > > You shouldn't include the ".xml" on the end of your commandline argument.
Argh! Yes... I'm such an &%*$%ยง :-) But I have further problems with the bi-directional connection. I made a simple client simulation with netcat: $ netcat -l -p 9999 localhost This works fine if I connect with telnet. Text is tranfered in both directions. When I start fgfs I get an error $ /usr/games/fgfs --generic=socket,bi,2,localhost,9999,tcp,fg_sqawk 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 Error: bind() failed in make_server_socket() SG_IO_BI socket creation failed Error opening channel communication layer. I/O Channel config failed. It seems that bi-drectional mode won't work... I will use the telnet interface for setting properties. Regards, Holger > > Where do I have to put the protocol defintion "fg_sqawk.xml"? I copied > > it to "/usr/share/games/FlightGear/Protocol" but it seems that fgfs > > doesn't find it. > > That is the correct place for it - same place as replay.xml. > > > And the last question: How can I set a value _if_ I get a bi-directional > > connection? Simply > > > > /my/path/to/the/property = whatever > > > > ??? > > I don't know the answer to this. > > -Stuart > > Send instant messages to your online friends http://uk.messenger.yahoo.com > > ------------------------------------------------------------------------- > 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