No Description

Girish Ramakrishnan 29a4e6fa9b Release 0.0.2 6 years ago 6a47b1dfc0 Update README 6 years ago
index.js 23515a5e4a socket.addMembership() can throw 6 years ago
package.json 29a4e6fa9b Release 0.0.2 6 years ago


UPnP SSDP node module implements the SSDP device discovery as specified in

The rough idea is for the server to listen for 'M-SEARCH' multicast messages on (port 1900). The server responds to the client with it's location (typically an IP address and a port).


npm install upnp-ssdp


Announce your server using announce().

var Ssdp = require('upnp-ssdp');
var server = Ssdp();

Clients can now discover the server using search().

var Ssdp = require('upnp-ssdp');
var client = Ssdp();
client.on('up', function (address) {
    console.log('server found', address);
client.on('down', function (address) {
    console.log('server ' + address + ' not responding anymore');
client.on('error', function (err) {
    console.log('error initiating SSDP search', err);


  • Methods
    • announce(service)
    • search(service)
  • Events
    • up(address)
    • down(address)
    • error(err)