How to use the Shutdown function from bindings

Find comprehensive JavaScript bindings.Shutdown code examples handpicked from public code repositorys.

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'
fork icon4
star icon0
watch icon4

Other functions in bindings

Sorted by popularity

function icon

bindings.createKey is the most popular function in bindings (8616 examples)