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.
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.