Home
last modified time | relevance | path

Searched refs:rinfo (Results 1 – 5 of 5) sorted by relevance

/AliOS-Things-master/components/amp/test/host/
A DudpServer.js17 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 Dtest_udp.js29 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 Dudp.js14 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 Dudp.js51 UDP.recvfrom(this.udpClientInstance, function(data, rinfo, err) { argument
58 this.emit('message', data, rinfo);
/AliOS-Things-master/components/amp/libjs/lib/
A Dudp.js60 __native.UDP.recvfrom(this.udpClientInstance, function(data, rinfo, err) { argument
66 this.emit('message', data, rinfo);

Completed in 6 milliseconds