  
 | 
  
  85025 packages online
 | 
 
 
 | 
  | 
 
 | 
 | 
 | 
 
| 
  No screenshot available
 | 
| Short: | Netecho checks if a host is available. |  
| Author: |  atte crash.north.de (Andreas Gelhausen) |  
| Uploader: | cosinus deepthought north de (Christian Stelter) |  
| Type: | comm/tcp |  
| Architecture: | m68k-amigaos |  
| Date: | 1995-12-15 |  
| Download: | comm/tcp/netecho.lha - View contents |  | Readme: | comm/tcp/netecho.readme |  
| Downloads: | 1447 |   
  |  
System requirements:   Kickstart 2.04+ and AmiTCP 4.0+
Usage
=====
   netecho is based on the TCP/IP service 'echo' and it's useful to
check the availability of a certain host within scripts. If the given
host is available, the string 'NETECHO' will be printed and the return
value is set to 0 (RETURN_OK). Otherwise an error message is printed
and the return value is set to 20 (RETURN_FAIL).
Usage:
         netecho <hostname>
Example:
         netecho crash.north.de
Example script 1:
         failat 21
         netecho >nil: crash.north.de
         if warn
            echo "crash.north.de is not available!"
         else
            echo "crash is alive! =¦^)"
         endif
Example script 2:
         failat 21
         if "`netecho crash.north.de`" eq "NETECHO"
            echo "crash is alive! =¦^)"
         else
            echo "crash.north.de is not available!"
         endif
 |  
  Contents of comm/tcp/netecho.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 2217    3500  63.3% -lh5- c00e Nov 28  1995 netecho/netecho
[generic]                  896    1998  44.8% -lh5- 2c90 Nov 28  1995 netecho/netecho.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    3113    5498  56.6%            Dec 15  1995
  |   
 |  
  | 
  | 
| Page generated in 0.01 seconds | 
Aminet © 1992-2024 Urban 
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |