Jump to content
The simFlight Network Forums

FSUIPC Connect Status


Recommended Posts

Hi!

Is there any function or offset, which I can check, if the connection to FSUIPC is still active?

I am able to connect to the FS and to close this connection. But I like to check in a timer function every second, that the connection is active. Otherwise the user should be informed.

I am using the C++ files.

Or should I alway try to connect to the FS every second? But I think this isn't the best solution. ;)

Link to comment
Share on other sites

Is there any function or offset, which I can check, if the connection to FSUIPC is still active?

Best to see if one of the regularly updated offsets are changing. Usually a timer is best. Offset 0310, for example. You'need to check whether it changed since you last read it.

Regards

Pete

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.