McGregor80
Programmer
Hallo
I have problem with this event becouse there is no reaction when i shot down the serwer. I expected some action but it seems there is nothing going on.
I even tried to set timer for constant checking if connected property is false/true.:
if(TCPClient->connected==false)
ShowMessage("server closed");
but there is no effect.
what is reason for this? I think there is some other way to check if it's still connected or not?
Meybe when i shotdown server i should disconnect all incoming connections? But what when server just "abnormal terminate" himself or else?
How easy check client connection state?
Help. Thanks
I have problem with this event becouse there is no reaction when i shot down the serwer. I expected some action but it seems there is nothing going on.
I even tried to set timer for constant checking if connected property is false/true.:
if(TCPClient->connected==false)
ShowMessage("server closed");
but there is no effect.
what is reason for this? I think there is some other way to check if it's still connected or not?
Meybe when i shotdown server i should disconnect all incoming connections? But what when server just "abnormal terminate" himself or else?
How easy check client connection state?
Help. Thanks