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

java - Cannot send AES encrypted messages of over 47 characters -

php - How to set default value of a select dynamically from database using smarty? -

telerik - Reformat image format in PDF -