That was it. I changed "ORB:SimTime\n" to "ORB:SimTime\r\n" and I started getting information back. I don't want to say how many hours I spent looking at that trying to figure it out.:facepalm:
I've been playing Orbiter for years so I figured I'd finally dive in and start writing some code...
Wow, thanks for the fast response Face!
I did try what you suggested, using PuTTYtel to connect. I was able to enter the same command and get a response back:
ORB:SimTime
ORB:SimTime=81.780413
Which tells me that the problem is definitely with my C++ skills. No surprise really. :)...
Greetings fellow Sim enthusiasts:
I'm trying to create my first connection with Orb Connect using MS Visual Studio / C++
I copied a simple socket connect example program from here: http://space.wccnet.edu/~chasselb/linux275/ClassNotes/sockets/ms_winsock.htm
and tried to modify it to work...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.