OK, talking to myself a bit, after more reading *g* On 8/14/07, K. Hoercher <[EMAIL PROTECTED]> wrote: > On 8/13/07, Ian Hunter <[EMAIL PROTECTED]> wrote:
> What does work here is something like: > [ --generic=socket,out,5,localhost,port,udp,xmlFilename ] README.IO talks about parameters "can be" for generic protocol, but obviously "can" refers to the 3 alternatives <serial|socket|file>, whereas the specific parameters are not meant to be optional. One must provide at least the correct number of those if only by leaving some "empty" between the separating commata. Looking through fg_io.cxx I am not sure why 188: FGGeneric *generic = new FGGeneric( tokens[n] ); doesn't fall flat on Ian's input, as it does not contain a needed token[7]. At least not something which could be opened in generic.cxx:57: readProperties(path.str(), &root); The checking for the needed number of tokens further down (l. 251ff) does happen too late insofar and is too lenient (for "--generic=socket" at least) allowing for tokens.size()<6 which Ian did provide. So should be <7? > > 1) If I set 'out', I get this failure:- > > > > Error: connect() failed in make_client_socket() > > SG_IO_OUT socket creation failed > > Error opening channel communication layer. > > I/O Channel config failed. So finally the error does manifest in l. 294ff. > > 2) If I set 'bi', then all appears OK, but no data appears on the socket. Shouldn't work either, but somehow should produce errors along the same lines as shown above. A quick diff with the webinterface didn't show tremendous changes between 0.9.10 and HEAD which would account for different behaviour in that regard I believe. HTH K. Hoercher ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users