0.0.8 • Published 9 years ago

next-port v0.0.8

Weekly downloads
4
License
MIT
Repository
github
Last release
9 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

9 years ago

0.0.7

9 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago