public
Description: A simple program to help you react more quickly to servers and services coming back online.
Homepage:
Clone URL: git://github.com/dustin/waitforsocket.git
name age message
file .gitignore Sat Apr 05 22:18:56 -0700 2008 Added a .gitignore [dustin]
file Makefile.in Fri Sep 26 10:27:33 -0700 2008 Compile with -Wall [dustin]
file README.markdown Thu Sep 25 22:15:52 -0700 2008 Added a README. [dustin]
file config.h.in Thu Jun 12 18:05:36 -0700 2003 Wait for a socket to become available. Author:... [dustin]
file configure Fri Dec 12 06:49:24 -0800 2003 Fixed waitforsocket (based on ocaml port) imp... [dustin]
file configure.in Thu Jun 12 19:54:42 -0700 2003 Fixed configure some...deal with the compiler c... [dustin]
file main.c Sun Oct 12 10:22:14 -0700 2008 Exit with EX_USAGE on usage errors instead of i... [dustin]
file sockets.c Fri Sep 26 10:27:33 -0700 2008 Use the return value enum for return values. [dustin]
file waitforsocket.h Fri Sep 26 10:27:33 -0700 2008 Use the return value enum for return values. [dustin]
README.markdown

This is a simple C program that waits for a remote socket to become available. It's useful to avoid guessing when a service comes back up, etc...

Example:

waitforsocket somehost 22 ; ssh somehost