title: Running socket API for native client
body: <p>I am trying to run the socket api example provided by goggle native client.(path : nacl_sdk\pepper_35\examples\api\socket)</p>
  
  <p>I am able to build and run this example using make command, also it is displayed properly on chrome browser. But when I try to connect to some TCP port it always fails irrespective of IP and PORT.Though I have created an application which listens on a specific port on my machine.</p>
  
  <p>Following is the error message:</p>
  
  <blockquote>
    <p>tcp<br>
    Resolving ...<br>
    Resolve failed.</p>
  </blockquote>
  
  <p>I can not even create the local server by providing only the port number.It says:</p>
  
  <blockquote>
    <p>Starting server on port: 8080<br>
    server: Bind failed with: -7</p>
  </blockquote>
  
  <p>Following changes are already done: </p>
  
  <ol>
  <li>enable nacl on chrome</li>
  <li>enable nacl socket api on chrome</li>
  </ol>
  
  <p>Following things have been tried:</p>
  
  <ol>
  <li><p>launching chrome using command line arguments 
  "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --allow-nacl-socket-api="http://localhost"</p></li>
  <li><p>"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --allow-nacl-socket-api=IP_ADDRESS_OF_MY_SYSTEM</p></li>
  </ol>
  
  <p>Can anyone tell what am I missing here ?</p>