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();
+ 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;
+ 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();
+ 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){
+ 43 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)