c - socket() function from nacl sdk returns -1 -


i have build chrome app nacl module calls socket() function, function returns -1. have compiled module -lnacl_io linker option. have tried run goolgle chrome --allow-nacl-socket-api=localhost. call function next arguments:

socket(af_inet, sock_stream, ipproto_tcp) 

why function failed?

don't forget call nacl_io_init_ppapi function


Popular posts from this blog

node.js - How do I prevent MongoDB replica set from querying the primary? -

c# - Randomly pick a specific int from a 2D Array -

php - Angularjs http.delete is not working after deploying project on server -