home *** CD-ROM | disk | FTP | other *** search
- Short: Replacement for WaitForPort command
- Author: jholzammer@bene.baynet.de (Jean Holzammer)
- Uploader: jholzammer@bene.baynet.de (Jean Holzammer)
- Version: 1.0
- Type: util/rexx
- Kurz: Ersatz für den WaitForPort Befehl
-
-
- NewWait4Port is a replacement of the WaitForPort command provided with Amiga-OS.
- It waits for a Message Port to appear and then end itself. This is useful for
- batch scripts. Here's an example:
-
- run <>NIL: Miami:Miami ;start Miami TCP/IP-Stack as background task
- NewWait4Port MIAMI.1 ;wait for its Msg port to appear
- rx "ADDRESS MIAMI.1 ONLINE" ;send a rexx command to this port
-
- This script waits till Miami has been started and its ARexx Port is available.
- Then it tells Miami to go online. Without NewWait4Port you would try to send a
- rexx message before the Port is available as it needs some time for Miami to
- start. Of course you could use a simple @{i}wait 5@{ui}. But you never really
- know how long Miami will need to start.
-
-
- Features:
- ---------
-
- The original WaitForPort command of Amiga-OS has two major disadvantages:
-
- ·it ends itself if the port isn't available within 10 seconds.
-
- ·it uses an endless loop of FindPort() calls resulting in a massive loss of CPU
- performance.
-
- NewWait4Port@ waits for the Port to appear even if it has to wait for hours.
- It also allows you to define a delay time between FindPort() calls preventing a loss
- of CPU performance.
-
-
-
- Readme created with ARC 3.2 - Copyright (c)1996-99 by Jens Weyer.
-
- ============================= Archive contents =============================
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 2273 570 74.9% 14-Aug-99 14:40:58 +Docs.info
- 2273 568 75.0% 14-Aug-99 14:40:42 +Guide.info
- 4880 2289 53.0% 08-Aug-99 21:13:04 +NewWait4Port.guide
- 1392 625 55.1% 14-Aug-99 14:38:30 +NewWait4Port.guide.info
- 2273 571 74.8% 14-Aug-99 14:40:44 +HTML.info
- 838 307 63.3% 08-Aug-99 21:17:44 +bugs.html
- 1614 704 56.3% 08-Aug-99 21:18:02 +contact.html
- 1207 496 58.9% 08-Aug-99 21:18:22 +copyright.html
- 1254 522 58.3% 08-Aug-99 21:18:42 +features.html
- 829 299 63.9% 08-Aug-99 21:19:02 +history.html
- 224 224 0.0% 08-Aug-99 17:14:46 +home.gif
- 935 356 61.9% 08-Aug-99 21:19:26 +installation.html
- 1598 693 56.6% 08-Aug-99 21:19:52 +introduction.html
- 1295 558 56.9% 08-Aug-99 17:14:46 +NewWait4Port.html
- 578 409 29.2% 08-Aug-99 17:52:18 +NewWait4Port.html.info
- 206 206 0.0% 08-Aug-99 17:14:46 +next.gif
- 206 206 0.0% 08-Aug-99 17:14:46 +prev.gif
- 205 205 0.0% 08-Aug-99 17:14:46 +toc.gif
- 1999 893 55.3% 08-Aug-99 21:20:24 +usage.html
- 2273 570 74.9% 14-Aug-99 14:40:44 +Postscript.info
- 13261 3566 73.1% 08-Aug-99 21:12:16 +NewWait4Port.ps
- 2273 570 74.9% 14-Aug-99 14:40:44 +RTF.info
- 8890 2594 70.8% 08-Aug-99 21:26:08 +NewWait4Port.rtf
- 425 227 46.5% 14-Aug-99 14:39:14 +NewWait4Port.rtf.info
- 2273 568 75.0% 14-Aug-99 14:40:44 +Wordworth.info
- 11508 4584 60.1% 08-Aug-99 21:15:52 +NewWait4Port.ww7
- 425 219 48.4% 14-Aug-99 14:39:32 +NewWait4Port.ww7.info
- 1148 877 23.6% 07-Aug-99 21:38:28 +NewWait4Port
- -------- ------- ----- --------- --------
- 68555 24476 64.2% 14-Aug-99 14:51:16 28 files
-
- Operation successful.
-