var Client = require('node-ssdp').Client , client = new Client(); client.on('response', function (headers, statusCode, rinfo) { console.log('Got a response to an m-search.',headers); }); // search for a service type client.search('urn:schemas-upnp-org:service:DeviceServer:1'); // Or get a list of all services on the network //client.search('ssdp:all');