Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jhermsmeier/node-net-ssdp

Simple Service Discovery Protocol
https://github.com/jhermsmeier/node-net-ssdp

service-discovery-protocol ssdp upnp

Last synced: 1 day ago
JSON representation

Simple Service Discovery Protocol

Awesome Lists containing this project

README

        

# net-ssdp
[![npm](https://img.shields.io/npm/v/net-ssdp.svg?style=flat-square)](https://npmjs.com/package/net-ssdp)
[![npm license](https://img.shields.io/npm/l/net-ssdp.svg?style=flat-square)](https://npmjs.com/package/net-ssdp)
[![npm downloads](https://img.shields.io/npm/dm/net-ssdp.svg?style=flat-square)](https://npmjs.com/package/net-ssdp)
[![build status](https://img.shields.io/travis/jhermsmeier/node-net-ssdp/master.svg?style=flat-square)](https://travis-ci.org/jhermsmeier/node-net-ssdp)

Simple Service Discovery Protocol (SSDP)

## Install via [npm](https://npmjs.com)

```sh
$ npm install --save net-ssdp
```

## Usage

```js
var SSDP = require( 'net-ssdp' )
```

```js
var discovery = new SSDP.Discovery({
reuseAddr: true,
interfaces: { ... }
})
```

```js
discovery.announce( service[, interfaces][, callback] )
discovery.publish( service[, interfaces][, callback] )
```

## References