PING using Revolution

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dzervas
Posts: 9
Joined: Sun Oct 07, 2007 11:23 am

PING using Revolution

Post by dzervas » Mon Oct 08, 2007 11:00 am

Dear all,

does anyone know how to ping a host using revolution?

Would be very useful to me...!

Regards

Dennis

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Mon Oct 08, 2007 11:27 am

Hi Dennis,

Here's one:

http://runrev.info/Ping.htm

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9857
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Post by FourthWorld » Mon Oct 08, 2007 3:44 pm

Mark, thanks for posting the link to the RunRev.Info site. Cool stuff - I just added it to the Links page at revJournal.com:

http://www.revjournal.com/links/
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Mon Oct 08, 2007 4:01 pm

Thanks, Richard,

but you might want to direct people directly to

http://runrev.info/search.html

rather than

http://runrev.info/Ping.htm

;-)

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Mark Smith
Posts: 179
Joined: Sat Apr 08, 2006 11:08 pm
Location: London, UK
Contact:

Post by Mark Smith » Wed Dec 19, 2007 4:01 am

As usual, nice stuff on your site - one piece of news though is that open/read/write process finally works on OS X with 2.9!

Best,

Mark

dzervas
Posts: 9
Joined: Sun Oct 07, 2007 11:23 am

Ping again...

Post by dzervas » Wed Dec 26, 2007 11:06 pm

Hello all,

many thanks for your answers.
The sources mentioned are nice, but I have the following problem:

All the code that I can find there relies on the Windows command prompt Ping function. It actually executes the ping command from Windows.

This is not very useful because the output of a command prompt ping is a big paragraph of info. And in my case where the Windows installation is not in English, even less useful.

Any other info that someone has on how to ping and actually have useful feedback inside Revolution? For example, some kind of function that would return true if host is live and false if host was not reached.
Maybe there is a product by someone somewhere?

Many thanks

Dennis Zervas

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Wed Dec 26, 2007 11:26 pm

Hi Dennis,

The example at runrev.info is for Mac OS X. I didn't know you were asking for a Windows example. Have you actually tried using the ping command on Windows? With smart parsing, you should be able to retrieve the relevant information, regardless of the language.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9857
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Post by FourthWorld » Thu Dec 27, 2007 6:34 pm

Mark wrote:Thanks, Richard,
but you might want to direct people directly to
http://runrev.info/search.html

rather than
http://runrev.info/Ping.htm
Good idea - done:
http://www.revjournal.com/links/
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Fri Dec 28, 2007 1:21 pm

Thanks Richard :-)

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply

Return to “Internet”