Access an existing server from a c++ application
Is it possible to access an existing (websocket implementation running on node.js) server from a c++ application. There is support for websockets in .NET 4.5, but as Websockets is a very new part of html5  there are some issues in using it. Now, I have a working client in javascript which communicates with the websockets server. But I need to embed it inside c++ applications written in direct 3d. Your options are:
1. take C# websockets library example from and make a dll for me which I can use in my direct 3d app OR
2. write a c++ code based on the example above and make it compile with my project.
Or any other way you can come up with....Is there any fast solutions?...[Qn from Odesk].

See All Responses Below...
Message Rating
Posted on: 23/05/2012
If you are going to communicate from a Javascript to a C++ program using sockets from a browser, it may not work because of the security restrictions in the browser. I tried a similar technique using Java and it failed in the past. Most probably this will fail in this scenario too..

Please Login to Post Your Comments
Name (Max. 100 characters)
Please post your comments here
Select Language
Attach File(Max. Size: 2 MB)
A few simple rules when posting your Comments,
  1. Please post only answers relevant to the topic of discussion.
  2. Please dont misuse this site or do not be abusive, offensive, inappropriate,harass anyone on the boards or post ads or spam. Doing so will delete your inappropriate messages and will block or delete your account on this site. 

Academic Projects