Xojo.Net.HTTPSocket Blocking UI Question

I’m using a Xojo.Net.HTTPSocket in one of my apps to download rather large files. I know that sockets can’t operate on threads. I was wondering what advice any of you could offer as to how you can keep the UI responsive while the socket is downloading a large file without using a separate thread? Thanks for any advice.

You could take a look at the worker class to separate each download into a separate helper app. So each download has its own console app and would run absolutely separated.

I definitely thought about that type of approach. I suppose that’s the best you can get.

By the way you should also change to urlconnection class instead of the xojo.net.httpsocket.

1 Like

Trying URL Connection tomorrow. :+1: