How to use the Shutdown function from bindings
Find comprehensive JavaScript bindings.Shutdown code examples handpicked from public code repositorys.
GitHub: routekickr/nanomsg.iojs
125 126 127 128 129 130 131 132 133
* for the time specified by NN_LINGER socket option. * * `int nn_shutdown (int s, int how);` * */ var ret = nn.Shutdown(this.socket, this.how[addr]) if(ret < 0) throw new Error(nn.Err() +': '+this.type+' bind@' + addr+'\n') this.how[addr] = 'shut'
4
0
4
bindings.createKey is the most popular function in bindings (8616 examples)