* Pep Ribal -- Monday 19 February 2007:
> What I've done: I've started FG with the option --props=5400; I've
> startet a successful telnet session in the same host, and everything
> works fine.

Please use --telnet instead. (Not that it makes any difference. :-)



> But I can't manage to make an app that does this connection. I create a
> socket. Then, the 'connect' call works fine. Then I use a 'write' call
> to send the string "ls" to FG. I've tried "help" and "ls\n" as well.
> They both work fine. But then I call 'read' (to see the help/ls
> results), and nothing is actually read:

Can't say from the description. Sending the "data" command first
is a good idea, but that's probably not your problem. Can you check
the examples in the scripts/ directory? There's example code for
Perl, Python, C, C++, and Java. If those don't work either, then
you have a general problem with your networking setup and it's not
fgfs related (well, or a rather new fgfs bug, of course ;-).

m.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to