home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 3
/
Meeting_Pearls_III.iso
/
Pearls
/
comm
/
Misc
/
ZVT
/
WFP.doc
< prev
next >
Wrap
Text File
|
1995-02-04
|
580b
|
23 lines
WFP is short for 'WaitForPort', a program that waits for a named port the
stated number of seconds. If 'seconds' is zero the program simply checks
for the existence of the port and exits.
When the port is created within the allocated time, the program returns OK,
otherwise it returns WARN (error code 5).
Use this program to wait for a ARexx host to come up.
Example:
Run ZVT
WFP ZVT.1 30
if warn
echo "ZVT did not start"
quit
else
rx "address zvt.1;hide;receiveron"
endif
Tries to start ZVT and switches it into answer mode if it gets started
within thirty seconds.