I am trying to run the socket api example provided by goggle native client.(path : nacl_sdk\pepper_35\examples\api\socket)
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.
Following is the error message:
tcp
Resolving ...
Resolve failed.
I can not even create the local server by providing only the port number.It says:
Starting server on port: 8080
server: Bind failed with: -7
Following changes are already done:
- enable nacl on chrome
- enable nacl socket api on chrome
Following things have been tried:
launching chrome using command line arguments "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --allow-nacl-socket-api="http://localhost"
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --allow-nacl-socket-api=IP_ADDRESS_OF_MY_SYSTEM
Can anyone tell what am I missing here ?