Thursday, 31 March 2022
  1 Replies
  0.9K Visits
  Subscribe
Hi Folks!
When connecting to a server using the tsgcwebsocketclient1 sometimes the windows freezes, how can I handle this?
Thanks in advance.
2 years ago
·
#949
Hello,

By default, the client connects and blocks the thread from where it's called till the TCP connection is successful or there is an error.
If you want to open a connection without waiting, use the "Start" method instead of Active or Connect.

You can read more about it:

https://www.esegece.com/help/sgcWebSockets/#t=Components%2FTsgcWebSocketClient%2FConnection%2FClient_Start_Connection.htm

Kind Regards,
Sergio
  • Page :
  • 1
There are no replies made for this post yet.
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below.
Supported: gif,jpg,png,jpeg,zip,rar,pdf
· Insert · Remove
  Upload Files (Maximum 10MB)