Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

ping

4 posts in Appeon (partner product) Last posting was on 2007-03-14 05:58:34.0Z
Marco Meoni Posted on 2007-03-01 11:42:42.0Z
Sender: 577c.45e43856.1804289383@sybase.com
From: Marco Meoni
Newsgroups: sybase.public.appeon
Subject: ping
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <45e6bc32.122c.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 1 Mar 2007 03:42:42 -0800
X-Trace: forums-1-dub 1172749362 10.22.241.41 (1 Mar 2007 03:42:42 -0800)
X-Original-Trace: 1 Mar 2007 03:42:42 -0800, 10.22.241.41
Lines: 7
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1827
Article PK: 21380

I'd like to show, from the web app, a window displaying the
ping time between the client and appeon server (and in
general to any server).
Is there any solution?

Cheers,
Marco


Gao yongfeng Posted on 2007-03-09 07:59:51.0Z
Sender: 4344.45dea165.1804289383@sybase.com
From: Gao yongfeng
Newsgroups: sybase.public.appeon
Subject: Re: ping
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <45f113f7.3272.1681692777@sybase.com>
References: <45e6bc32.122c.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 8 Mar 2007 23:59:51 -0800
X-Trace: forums-1-dub 1173427191 10.22.241.41 (8 Mar 2007 23:59:51 -0800)
X-Original-Trace: 8 Mar 2007 23:59:51 -0800, 10.22.241.41
Lines: 12
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1830
Article PK: 13168

Hi,
You can run the DOS command: ping (ping.exe) using the Run
function in PowerBuilder, to display the network speed.
For example:
run("ping 192.0.0.1")
Such kind of code is supported in Appeon.
Or, you can also write a DLL using Socket Communication
Method to provide ping functionality and then call this DLL
in PowerBuilder.

Best Regards
Gao yongfeng


Marco Meoni Posted on 2007-03-10 17:28:09.0Z
Sender: 6fdd.45f2e8c8.1804289383@sybase.com
From: Marco Meoni
Newsgroups: sybase.public.appeon
Subject: Re: ping
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <45f2eaa9.7001.1681692777@sybase.com>
References: <45f113f7.3272.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 10 Mar 2007 09:28:09 -0800
X-Trace: forums-1-dub 1173547689 10.22.241.41 (10 Mar 2007 09:28:09 -0800)
X-Original-Trace: 10 Mar 2007 09:28:09 -0800, 10.22.241.41
Lines: 32
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1831
Article PK: 21379

Gao, thank you for the answer.
What I really need is to extract and manage performance
values (bytes, duration, TTL) from ping, so the command

run("ping hostname")

doesn't provide me this info.
On the other hand, I've found some PB code that wraps CPing,
a freeware MFC class to encapsulate the PING protocol.

http://www.sybase.com/pb9_samples#ping

But what happens when I'll deploy the code to Appeon?
In other words, will the web apps download also the CPing
dll?

Cheers,

Marco

> Hi,
> You can run the DOS command: ping (ping.exe) using the Run
> function in PowerBuilder, to display the network speed.
> For example:
> run("ping 192.0.0.1")
> Such kind of code is supported in Appeon.
> Or, you can also write a DLL using Socket Communication
> Method to provide ping functionality and then call this
> DLL in PowerBuilder.
>
> Best Regards
> Gao yongfeng