0.0.8 • Published 8 years ago

next-port v0.0.8

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

next-port

grab next available port.

usage

var nextPort = require('next-port')

// simple usage; check all ports
// (only check <=1024 if root/admin)
nextPort(function (err, port) { /* ... */ })

// specify some options
nextPort({ /* options */ }, function (err, port) { /* ... */ })

options

  • lower: the lower bound to start scan from. (default: 1 if root/admin, 1024 if not)
  • higher: the higher bound to stop scan at. (default: 65535)
  • protocol: TCP or UDP.
0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago