ac2cz / FoxTelem

AMSAT Fox-1 Telemetry Decoder
GNU General Public License v3.0
52 stars 17 forks source link

COSMOS port is opened and closed frequently #515

Closed ac2cz closed 5 years ago

ac2cz commented 5 years ago

This causes spam in the COSMOS log.

Each socket open requires 3 packets and a close requires 4, so we should keep it open if we have more data to send. That suggests we should keep the socket open if there is data in the queue.

The send request should re-open the socket if it is closed.

ac2cz commented 5 years ago

I had to regress this because it clashed with the way the AMSAT server connection is implemented. Need to implement it in a stand alone way.

ac2cz commented 5 years ago

Fixed in 1.08a