netutil
utils to find free ports in a range, checking if a port is open, etc
Last updated 6 years ago by fjakobs .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install netutil 
SYNC missed versions from official npm registry.

node.js network utils

provides:

Find the first free port on the server within the given range:

findFreePort(start, end, hostname, callback)

Check whether the given port is open:

isPortOpen(hostname, port, timeout, callback)

Get the hostname of the current server:

getHostName(callback)

Current Tags

  • 0.0.2                                ...           latest (6 years ago)

2 Versions

  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 12
Last Day 0
Last Week 5
Last Month 11
Dependencies (0)
None
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |