2
« on: July 09, 2018, 06:52:25 pm »
Thanks.
It's actually for an auto-helm for my boat that I wrote in QB64. I have a separate 3rd party app that is the actual NAV sw where I plot my course and through the server port, sends the required compass direction for each next waypoint. It uses the GPS to identify the current course heading however this has terrible lag - it calculates by measuring the current location, wait and then measure the location again giving you a 'fairly' accurate heading. The lag causes the boat to sway.
I purchased a digital compass that reads the actual heading 20x a second, so no more lag.
I have a friend writing (in VB) an app to put the heading info into a data stream - so I need to know if QB64 can have 2 'clients' open at the same time. (I believe this is called multi threading)
The alternative is to write the data to an open file as I know QB64 can read open files - but is not a great way of doing it.
So can I have 2 client ports open at the same time as long as they are on different ports??
Thanks!!!!!!