How to create a shell script on centos 5. which tells whether the particula port is busy or not.
It will take input port number like 80 ,25 etc and will tell whetehr it is free or busy.
I would like to use this script in below manner
SHELL>busy or free it returns.
what is good a c/c++ socket program to check port busy or not, Or shell script for the same?