Sign in to follow this  

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

This topic is 1425 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Restored post contents from history.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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

spinningcube

Edited by jbadams
Restored post contents from history.

Share this post


Link to post
Share on other sites

This topic is 1425 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this