How to use the Recv function from bindings
Find comprehensive JavaScript bindings.Recv code examples handpicked from public code repositorys.
GitHub: awesome-archive/kungfu
185 186 187 188 189 190 191 192 193 194
if (this.closed){ this.push(null); return; } var msg = nn.Recv(this.binding, this.nndontwait); if(this.type === 'surveyor') { if(msg < 0 && nn.Errno() === nn.EFSM) { this._stopPollSend();
993
0
1
+ 33 other calls in file
GitHub: tcr/node-nanomsg
133 134 135 136 137 138 139 140 141 142
this.queue.unshift(buf); }); }; Socket.prototype._receive = function () { var msg = nn.Recv(this.binding, 0); if(this.type == 'surveyor') { if(msg < 0 && nn.Errno() == nn.EFSM) { this.mask = nn.NN_POLLOUT;
70
3
2
+ 19 other calls in file
GitHub: digirea/node-nanomsg
178 179 180 181 182 183 184 185 186 187
if (this.closed){ this.push(null); return; } var msg = nn.Recv(this.binding, nn.NN_DONTWAIT); if(this.type === 'surveyor') { if(msg < 0 && nn.Errno() === nn.EFSM) { this._stopPollSend();
70
0
15
+ 25 other calls in file
GitHub: reqshark/nanomsg.iojs
111 112 113 114 115 116 117 118 119 120
case 'sub': case 'pair': case 'bus': case 'req': case 'resp': case 'respondent': nn.Recv( s, recv ) break } function recv (msg){
4
10
7
+ 43 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)