TIP: Click on subject to list as thread! ANSI
echo: os2rexx
to: PETER KNAPPER
from: MIKE RUSKAI
date: 1999-11-28 05:55:00
subject: REXX FtpPing.

Some senseless babbling from Peter Knapper to David Noon
on 11-27-99  09:25 about REXX FtpPing....

 PK> When talking to Francois Massonneau recently the subject of performing
 PK> a PING came up, so you may have an answer for this. 

 PK> Most of the REXX FTP functions appear to be implemented with some
 PK> quite lengthy timeouts, and it can take 1-2 minutes to decide that the
 PK> remote end is not contactable. I tried to "test" for this using a
 PK> single FtpPing, however if the destination/target system is not
 PK> contactable, FtpPing suffers from the same long timeout. Do you know of
 PK> a way to alter the REXX FTP timeout period to something like 10-20
 PK> seconds rather than 2 minutes? 
 PK> Alternatively, can you (or someone else) suggest some REXX Sockets
 PK> code to perform the equivalent task, if the timeout periods can be
 PK> controlled from there?

I don't think RxFTP allows for setting the timeout value.

You won't be able to use RxSock for pinging, either, because it doesn't
support ICMP packets.

To have a functional ping in REXX (without grabbing the output of PING.EXE)
would require writing another DLL, that'd allow for a timeout.

Mike Ruskai
thannymeister@yahoo.com


... Humor is the ability to laugh at ourselves.

___ Blue Wave/QWK v2.20
--- Platinum Xpress/Win/Wildcat5! v3.0pr2
* Origin: FIDO QWK MAIL & MORE! WWW.DOCSPLACE.ORG (1:3603/140)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.