Need some advice...
When using the OnError event to catch errors on a TClientSocket, how
would one connect if the error was because the socket wasn't connecting?
procedure TForm1.ClientSocket1Error(Sender: TObject;
Socket: TCustomWinSocket; ErrorEvent: TErrorEvent;
var ErrorCode: Integer);
TClientSocket(Socket).Active := True;
In the above, if the socket can't connect the second time Active is set
to true, the OnError is never fired.
Any tips on how to handle this?