This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Http Tunnelling  RSS feed

 
bhuvana purushoth
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I am working on a chat application. I am using sockets.Since sockets cant bypass firewalls we were advised to use Http Tunnelling.
In my perspective,Its nothing but the client has to establish an URLConnection with the server and then creating o/p and i/p streams.
But our problem is in chat when there is a need for the server to send messages to the client , how does he identify the client?
Or should the client poll in intervals to get the messages from the server? What happens if the data income is very frequent?
Please give a neat solution.
thanks,
bhuvana..
 
amit tantia
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let me know if you find any solutions to this problem. I am also stuck on the same boat.
Amit
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!