All looking good, im down to one issue left that I am struggling with.
The clients connect to server and all is well. The read/write are in try blocks so if there is a connection issue ( bad wifi etc) they will disconnect and then try to reconnect. This works great if I am not using ssl with the client IOHandler set to IndySecOpenSSL but if SSL is enabled then the application just freezes until sometime after the connection comes a live again.
This is not great, I have tried setting IdSecIOHandlerSocketOpenSSL1.ReadTimeout and IdSecIOHandlerSocketOpenSSL1.ConnectTimeout but nothing seems to influence this.
I also tried IdSecIOHandlerSocketOpenSSL1.CheckForDisconnect but that seemed not to do much either.
At the moment it seems to only way around this is to Connect -> request Data -> get response -> disconnect, this seems very clunky though and there has to be a better way.
Once again I have turned to examples as documentation seems very hard to find, not much seems to be pointing me in the right direction. Can someone please help? Thanks