Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jhermsmeier/node-net-ssdp
- Owner: jhermsmeier
- License: mit
- Created: 2014-08-13T03:35:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-09-17T15:44:59.000Z (over 5 years ago)
- Last Synced: 2024-11-10T02:58:13.602Z (about 1 month ago)
- Topics: service-discovery-protocol, ssdp, upnp
- Language: JavaScript
- Size: 10.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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