Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Data Transfer with Security

 
Isaias C. Barroso
Ranch Hand
Posts: 165
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
In the most applications developer by you, what is more used? HTTP or Socket?
I know HTTP is slower than Socket.
When you use Socket, you do a specific protocol for each application?
Best Regards
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First, you can use any arbitary binary protocol over HTTP. This is not limited to sockets.
Second, in many wireless networks, there is no native support for TCP/IP. Sockets are sometimes emulated over HTTP. That makes those sockets slower than HTTP.
Third, HTTP is the only protocol mandated by MIDP v1.0. So, if you want your app to be cross-platform. It is safer to use HTTP.
 
Isaias C. Barroso
Ranch Hand
Posts: 165
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks by response Michael, your explanation was very important.
Best Regards.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic