listen-interface
module to listen on a specific network interface
Installation
npm install --save listen-interface
exemple :
var http = listen = ; var server = http;
API :
listen
:
server
: http server or net serverconfig
:port
: port to listen tointerface
: network interface to listen to
- [callback] : optionnal callback function