I edited gpsd to include some printf's and some dummy calls to a function in an external library.
Now I get the error: "gpsfake: socket error [Errno 104] Connection reset by peer.".
However, this happens after a couple dozen calls to my dummy calls (args to the call don't change and yet the first few calls to my function succeed...)
Any thoughts on why this might be the case? I'm kind of at a loss.
Is there some timeout in gpsd?