title: How to call a C++ method from javascript
body: <p>I have a C++ method (which role is killing some processes). She needs 2 parameters : <code>a hostname and a port</code>.  </p>
  
  <p>On the other hand, I am developing a web-application (using Nodejs and AngularJS), running on Google Chrome.<br>
  When I click on a button through the browser, I would like to be able to call the C++ function, through my <code>app.js</code> file.  </p>
  
  <p>I haven't found how to "bind" javascript with C++.</p>
  
  <p>EDIT : I think this link could be very useful 
  <a href="https://stackoverflow.com/questions/9629677/how-can-i-use-a-c-library-from-node-js">How can I use a C++ library from node.js?</a></p>