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

Home » Public Forums » archive » Re: socket issue
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
Re: socket issue [message #52604] Thu, 22 February 2007 04:55
Allan Whiteford is currently offline  Allan Whiteford
Messages: 117
Registered: June 2006
Senior Member
Bringfried,

You could try giving the IP number of the remote host rather than the
hostname. The error message implies that IDL isn't seeing your change in
DNS settings when you change them - this is common to lots of programs
which read them at startup and remember them.

Of course, using IP number is dangerous in case the machine changes IP
number one day so you may want IDL to do a lookup as it starts and store
the IP number internally for the session and use the number for all
socket calls rather than the name.

Thanks,

Allan

Bringfried Stecklum wrote:
> One of my programs retrieves data over the web using the socket
> procedure. It also runs on the laptop which has different network
> settings depending on where I am. Usually the IDL session is kept
> running when hibernating/resuming the system. In this case I noticed
> that socket does not become aware of the change in the network settings
> and fails
>
> % SOCKET: Unable to lookup host. Unit: 1, File: remotehost
>
> Of course remotehost can be reached. So it seems that the network
> configuration is fixed upon IDL startup, and not dynamically updated.
>
> regards,
>
> Bringfried Stecklum
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: import vrml in idl
Next Topic: programme driven variable names

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

Current Time: Wed Oct 08 15:22:02 PDT 2025

Total time taken to generate the page: 0.00553 seconds