Socket
Book a DemoInstallSign in
Socket

raop-stub

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raop-stub

Expose a phantom RAOP server on the network

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

raop-stub

Expose a phantom RAOP server on the network.

This advertises a RAOP server using mDNS, but doesn't actually listen on the advertised port.

Build status js-standard-style

Installation

npm install raop-stub

Usage

var raop = require('raop-stub')

raop('My AirPlay Server')

API

The raop-stub module exposes a single function:

raop([options], callback)

Options:

  • name - The server name that should be advertised (defaults to Node.js)
  • port - The port that should be advertised (defaults to 5000)
  • txt - A custom txt record (optional)
  • mac - The MAC address of the network interface (optional)

If the options argument is a string, it will mean the same as just setting options.name.

The callback is called when the advertisement have been set up. It's called with an optional error object and a config object containing the mac address and the txt record that is advertised.

License

MIT

Keywords

raop

FAQs

Package last updated on 26 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts