Searched refs:rinfo (Results 1 – 5 of 5) sorted by relevance
/AliOS-Things-master/components/amp/test/host/ |
A D | udpServer.js | 17 server.on('message',(msg,rinfo)=>{ 18 console.log(`receive message: ${msg} from ${rinfo.address}:${rinfo.port}`); 20 server.send(message,rinfo.port,rinfo.address);
|
/AliOS-Things-master/components/amp/test/ |
A D | test_udp.js | 29 udpSocket.on('message', function(message, rinfo) { argument 33 if(!rinfo || !rinfo.host || !rinfo.port) { 37 …console.log('udp: [debug] remote[' + rinfo.host + ': ' + rinfo.port + '] on message: ' + ArrayToSt…
|
/AliOS-Things-master/components/amp/example-js/ |
A D | udp.js | 14 udpSocket.on('message', function(data, rinfo) { argument 15 console.log('receive data from ' + rinfo.host + ' port: ' + rinfo.port);
|
/AliOS-Things-master/components/amp/jslib/src/ |
A D | udp.js | 51 UDP.recvfrom(this.udpClientInstance, function(data, rinfo, err) { argument 58 this.emit('message', data, rinfo);
|
/AliOS-Things-master/components/amp/libjs/lib/ |
A D | udp.js | 60 __native.UDP.recvfrom(this.udpClientInstance, function(data, rinfo, err) { argument 66 this.emit('message', data, rinfo);
|
Completed in 6 milliseconds