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

Home » Public Forums » archive » Re: Help communicating between IDL programs on two computers
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Help communicating between IDL programs on two computers [message #47325] Thu, 02 February 2006 15:41 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
You'll need to use Randall Frank's idl_tools dlm library. He has
implemented sockets for IDL on unix and windows. Both client and server
sockets which is the important point. IDL's SOCKET procedure only
implements client sockets.

One approach would be for one program creates a listener that checks
periodically for data and acts accordingly upon the data received. The
other program connects to the listener and sends the commands.

If it you just have two programs, this is pretty simple. If you have
many programs connecting to a server, you may want to have a "control
channel" which all clients contact to initiate a connection. The server
can then open up a socket for the client and send back this "data
channel" socket number over the control channel which the client can
then use to connect.

Ronn Kling hosts this collection on his website:

http://www.kilvarock.com/freesoftware/dlms/randallfrank.htm


-Rick


Marc Reinig wrote:
> I need an IDL program on one computer to tell an IDL program on another
> computer to take a certain action. How would I do that? I'm thinking
> sockets, but I haven't quite figured out how.
>
> Thanks in advance,
>
> Marco
> ________________________
> Marc Reinig
> UCO/Lick Observatory
> Laboratory for Adaptive Optics
>
>
[Message index]
 
Read Message
Read Message
Previous Topic: Re: How to get the current color table number?
Next Topic: Re: Plotting GSHHS coastline data in IDL

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

Current Time: Sun Oct 12 09:02:41 PDT 2025

Total time taken to generate the page: 0.72250 seconds