How to use the SOCK_STREAM function from bindings
Find comprehensive JavaScript bindings.SOCK_STREAM code examples handpicked from public code repositorys.
1 2 3 4 5 6 7 8 9 10
var Socket = require('net').Socket; var bindings = require('bindings')('unix_stream.node'); /* bindings from C++ */ var SOCK_STREAM = bindings.SOCK_STREAM; var AF_UNIX = bindings.AF_UNIX; var bind = bindings.bind; var getpeername = bindings.getpeername; var getsockname = bindings.getsockname;
0
9
2
+ 17 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)