udp-finder
##Installation##
$ npm install udp-finder
##Usage##
var udpFinder = require('udp-finder');
udpFinder.getPort(function(err, port){
//
//`port` will be a available port
//
//
});
By default udp-finder
will start the search for a available udp port from 8000
.
To change this simply set udpFinder.basePort.
Note that the udp-finder
only search for udp4
for now.
##Purpose##
udp-finder
will be useful to those who wants to search for a available udp4 port on the local machine
.
####Author : Jake Lin####
####License: MIT/X11####