Ahhh, I completely misunderstood that! I has assumed that libgps actually starts up GPSD, ie does not open a connection to an already running GPSD. Thank-you Andy and Chris! I will work on it today and see what progress I can make. For the record, these GPSD apps are amazing - good work!
Andy-68 wrote:
Anyway, for your C++ I may be mis-understanding your program, but surely
you should be opening localhost, 2946
As that is the port GPSD listens on for connections. Therefore:
GPSD is started at bootup and binds to the physical GPS
Your clients/applications then connect to GPSD on the tcp port 2946.