| View previous topic :: View next topic |
| Author |
Message |
Wayno Voice
Joined: 10 Apr 2006 Posts: 3
|
Posted: Mon Jun 04, 2012 11:39 pm Post subject: Test Port |
|
|
hi i am in need of a script that checks a port on a ip and port and if it can connect do nothing if it fails then do a error on irc can someone help me plz.
i guess it would be sometrhing like that
check port 80
if ok do nothing
else putquick: cannot connect restart the service?
thanks in advance. |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Tue Jun 05, 2012 12:32 am Post subject: |
|
|
There's no point on reinventing the wheel. Check out user's post. _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
|