semuconsulting / PyGPSClient

Python Graphical GPS Client Application supporting NMEA, UBX, RTCM3, NTRIP & SPARTN Protocols
BSD 3-Clause "New" or "Revised" License
517 stars 103 forks source link

Send an empty datagram to estabilish connection to udp servers #113

Closed Williangalvani closed 8 months ago

Williangalvani commented 8 months ago

PyGPSClient Pull Request Template

Description

This makes us send an empty datagram when connecting to an UDP server. This is required as UDP is a connectionless protocol, so the server can only start sending us data once we send it something to let it know we exist.

Fixes # (issue)

Testing

Please test all changes, however trivial, against the supplied pytest suite tests/test_*.py. Please describe any test cases you have amended or added to this suite to maintain >= 99% code coverage.

Checklist: