Hello,
Great job.
What should be done when the server disconnects?
I've tested it, and the connection doesn't resume; the Expert Advisor needs to be restarted.
Is there a way to restore the socket after a disconnection?
Perhaps through detecting a socket closure event.