Checking Connection before launching a session

Discussion of Inner Space

Moderators: Lavish Software Team, Moderators

Post Reply
Hook
GamingTools Subscriber
Posts: 3
Joined: Tue Oct 13, 2009 8:37 pm

Checking Connection before launching a session

Post by Hook » Mon Oct 26, 2009 3:19 pm

I'd like to check my internet connection before launching a session in a lavishsoft script.

Any ideas on how I'd do that?

Thanks,

Hook

eqjoe
GamingTools Subscriber
Posts: 221
Joined: Wed Oct 13, 2004 2:34 pm

Re: Checking Connection before launching a session

Post by eqjoe » Mon Oct 26, 2009 6:50 pm

Hook wrote:I'd like to check my internet connection before launching a session in a lavishsoft script.

Any ideas on how I'd do that?

Thanks,

Hook
You may need an extension to use the InnerSpace HTTP service.

-j

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Tue Oct 27, 2009 10:43 am

You wouldn't need an extension to use that, you could use the httpget command. However, this is not reliable. There are known issues with the built-in web requests in Inner Space, and it is not a priority to fix. If you do an http request through IS and the web server can't be contacted (e.g. the web server is down, your connection is busted, etc), IS may stop processing web requests until it is restarted, rendering this solution useless.

I would recommend building a .NET application if this is a necessity.

Hook
GamingTools Subscriber
Posts: 3
Joined: Tue Oct 13, 2009 8:37 pm

Post by Hook » Tue Oct 27, 2009 11:10 am

argg.

How about something of a cluge like redirecting a system ping command to a file and parsing it. I don't need to do this often.

Hook

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Tue Oct 27, 2009 11:35 am

Go ahead. I don't see this as a personal use issue, sounds to me like I should be charging you commercial rates for such support...

Hook
GamingTools Subscriber
Posts: 3
Joined: Tue Oct 13, 2009 8:37 pm

Post by Hook » Tue Oct 27, 2009 6:22 pm

Appreciate the responses. Was mainly just making sure I wasn't missing some simple command after scanning all the wiki pages.

Post Reply