Ping on OS X
I am trying this…
It works when you give it a good IP address. But if you give it one that is not good it gives you the -1753 error with no response. I was hoping to get the response I see in terminal; if done manually it tells you there was 100% packet loss.
Calculate lvCommand as con(‘do shell script ‘,kDq,’ping -c 1 -t 1 ‘,kSq,’10.0.1.22’,kSq,kDq)
Do $runapplescript(lvCommand,lvResponse) Returns lvError
If lvResponse>”
Calculate lvText as mid(lvResponse,pos(‘time=’,lvResponse)+5,20)
Calculate lvReturnTime as rnd(mid(lvText,1,pos(‘ ‘,lvText)-1),0)
Else
End If
*********************************************************************
Michael Mantkowski
ClienTrax Software
1-614-875-2245
*********************************************************************
—–Original Message—–
From: omnisdev-en [mailto:omnisdev-en-bounces@lists.omnis-dev.com] On Behalf Of Michael Mantkowski
Sent: Monday, November 20, 2017 3:37 PM
To: ‘OmnisDev List – English’ <omnisdev-en@lists.omnis-dev.com>
Subject: Ping on OS X
Since TCPPing in no longer working on newer versions of OS X.
Ho do you do a ping of a IP address?
Used to be: TCPPing (lvIPAddress,256,250) Returns lvReturn
*********************************************************************
Michael Mantkowski
ClienTrax Software
1-614-875-2245
*********************************************************************
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com