Skip to content

Leopoldthecoder/tcp-check

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tcp-check

install

npm install tcp-check

usage

var promise = tcpCheck(ip, port);

demo

const tcpCheck = require('tcp-check');

tcpCheck('127.0.0.1', 80).then(() => {
  console.log('ok, your 80 port is listening.');
}, error => {
  console.log(':joy:, your 80 port is not listening.');
});

About

TCP LISTENING CHECKER

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 70.0%
  • JavaScript 22.6%
  • Python 7.4%