TcpSocket and UI

Quick question: It seems that the TcpSocket is synchronous, meaning that any difficulty in establishing a network connection can freeze the UI’s responsiveness altogether.

Do you have any suggestions on how to make an asynchronous TcpSocket connection, so the UI doesn’t pause / freeze up?

Thanks!

I don’t believe TcpSocket in synchronous. I have a lot code that depends on it not being.

1 Like