comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » how to determine network yes or no
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
how to determine network yes or no [message #36132] Sun, 24 August 2003 07:02 Go to next message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Hi,

While writing a newsticker routine by idl I like to test the results
locally. So I like to have a switch in the routine to deterimine network is
available or not.

How to do this?

Reimar

--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
Re: how to determine network yes or no [message #36242 is a reply to message #36132] Thu, 28 August 2003 01:11 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Henry Roe wrote:

> "Rick Towler" <rtowler@u.washington.edu> wrote in message
> news:<bidn7p$23qq$1@nntp6.u.washington.edu>...
>> I think the SOCKET procedure would be your only platform independent
>> option. Try connecting with a reliable http host:
>>
>> socket, 1, 'www.google.com', 80, connect_timeout=5, error=e
>>
>> Or maybe some other creative use.
>>
>> -Rick
>
>
> Neat; I hadn't used 'socket' before.
> IDL 5.6 help says socket is only implemented on UNIX and Windows
> platforms.
>
> Does anyone know if 'socket' exists in IDL for Mac OS X? (I know OSX
> is unix underneath, but am unsure if RSI considers OSX a 'unix
> platform'.)
>
> Thanks!
> -Henry

Dear Henry,

before rsinc implented it there was a dlm library available.

http://www.rlkling.com/freeware/randallfrank.html

Perhaps you find someone who's able to help to put it on the Mac.


Reimar
P.S. Thanks Rick, is_network() is based on your idea


--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: [HELP] My program is not running in IDL 5.6
Next Topic: Assoc and byteorder keywords

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 22:31:46 PDT 2025

Total time taken to generate the page: 0.87684 seconds