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