Hello Andrea,
You should check in every event if there is a Winsock error. When nobody
is listening then OnSessionConnected is fired with winsock error 10061.
Then you know there is no connection. That is how winsock works.
Use the OnChangeState only for displaying options if you need it.
If you
Hi,
I have a problem with connection successful / unsuccessful handling.
TWsocket is version 5.5.
I use it to send some commands to a remote, without any ACK, I.e. I open
the connection, when the connection is on I write and so on.
Everything works when the remote exists.
If I try to connec
Hi,
I have a problem with connection successful / unsuccessful handling.
TWsocket is version 5.5.
I use it to send some commands to a remote, without any ACK, I.e. I open
the connection, when the connection is on I write and so on.
Everything works when the remote exists.
If I try to connec