Ok, last post I talked about the possibility of being able to subscribe to a published GPS.
Well I've only gone and done it.
I've built a small GPS server that broadcasts the data from a connected GPS. This is the server running -
To attach type TELNET localhost 2947 at your favourite command prompt.
You'll see the GPS being broadcast like so -
(looks about the same doesn't it, which I guess is the whole point)
Full Visual Studio project -
Let my know what you think? Its a multi-threaded server, which isn't my strongest programming area. Please feel free to shoot me down. I haven't tried it with a real GPS so currently its just looping around a file to simulate a connection to a real device.
Next to try building a client and a way of auto-discovering GPSd servers. Anyone got a cruise ship I can install this on?
Happy Christmas All.