Jump to content

  • Log In with Google      Sign In   
  • Create Account


UDP HTML5 JavaScript no plug-in approach? Browser JavaScript application to C++ Server.


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 zzzz....   Members   -  Reputation: 84

Like
0Likes
Like

Posted 19 February 2014 - 05:52 PM

Hello,

 

Been checking out some standards around the web for instant deploy of web applications (the user needs not to install any plugin, but needs an up to date browser). Totally dig the Javascript and WebGL combo as it is to me the way to deploy applications.

 

 

I am interested in a way to communicate via UDP in the browser towards a server.

 

WebSockets? Seems only TCP

 

WebRTC? Seems only possible browser to browser but no browser to C++ server.

 

Node.js? It's a plugin?

 

Any ideas?

 

spinningcube


Edited by jbadams, 13 April 2014 - 01:38 AM.
Restored post contents from history.


Sponsor:

#2 hplus0603   Moderators   -  Reputation: 4977

Like
1Likes
Like

Posted 19 February 2014 - 08:50 PM

UDP is not well supported in current browsers.

Given that WebRTC can do "browser to browser" then it can also do "browser to server;" you "just" have to build the server side to look browser-like on the network.
You could, for example, us the WebRTC C++ API in your server.
enum Bool { True, False, FileNotFound };

#3 zzzz....   Members   -  Reputation: 84

Like
0Likes
Like

Posted 20 February 2014 - 04:07 PM

Yup found some example already. Nice native C++ api.

spinningcube


Edited by jbadams, 13 April 2014 - 01:39 AM.
Restored post contents from history.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS