• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to decide whether to go with socket or web service

 
praveen kanakarajan
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

How will I decide whether my application should use a socket or host a webservice? what i am trying to find is on what scenarios is socket is more suitable than a webservice?

Thanks & Regards,
Praveen
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That depends on what kind of software runs on both ends of the wire, and what kind of data they want to exchange. Also, WS run on top of HTTP -which follows a request/response model- so both sides are not equal.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!