Implementing Blackberry http and https provides more options for connecting to the target server than socket , and, of course, implement all the HTTP protocol materials for you. I have not tested them, but it makes sense to say that direct TCP through socket will be faster in some cases, especially if what listens on port 80 is not an HTTP server (there is no protocol overhead)
In the past, I had difficulties with different network providers, some of which needed deviceside=true others deviceside=false , and there was no real way to find out until the first support call for this network appeared.
Basically, what I'm trying to achieve is responsiveness from the connection to get a smooth progress bar.
Forgive my statement, but the “smooth progress indicator” - “gilding of a lily” - is pleasant to have and watch, but not critical for the application function, reliability or reliability. Go with more reliable and reduce the size of the code - probably http in this case.
source share