wait_for \- Waits for a given port to become accessible on a server.
."------DESCRIPTION
.SHDESCRIPTION
.PP
This is useful for when services are not immediately available after their init scripts return - which is true of certain Java application servers. It is also useful when starting guests with the \fIvirt\fR module and needing to pause until they are ready.
."------OPTIONS
."
."
.SHOPTIONS
.IPdelay
number of seconds to wait before starting to poll
.IPhost
hostname or IP address to wait for (default: 127.0.0.1)
.IPport
port number to poll(required)
.IPtimeout
maximum number of seconds to wait for (default: 300)
.IPstate
either \fCstarted\fR, or \fCstopped\fR depending on whether the module should poll for the port being open or closed.