|
Re: communication between 2 computers using a socket [message #71720 is a reply to message #71718] |
Tue, 20 July 2010 06:07  |
Karène St-Pierre
Messages: 1 Registered: July 2010
|
Junior Member |
|
|
Hi guys,
I already tried to use these librearies but I have a problem when i
try to load the DLMs. I get the following error:
% DLM_LOAD: Error loading sharable executable.
Symbol: IDL_Load, File = C:\Archivos de programa\ITT
\IDL70\bin\bin.x86\idl_tools.dll
The application can not be applied because the configuration is wrong.
Reinstall the application can solve the problem.
I'm using IDL 7.0 !
Suggestions ? Thank you in advance,
bernat
|
|
|
Re: communication between 2 computers using a socket [message #71725 is a reply to message #71720] |
Mon, 19 July 2010 14:28  |
Heinz Stege
Messages: 189 Registered: January 2003
|
Senior Member |
|
|
On Mon, 19 Jul 2010 11:14:29 -0700 (PDT), nata wrote:
> Hi guys,
>
> Is it possible to communicate 2 PCs via a socket ?
> I have an internal network and I just want to make 2 computers
> communicate with each other in order to have control for 1 program.
> My initial idea is to open a socket and read and write from these 2
> different computers. Reading the documentation I see "The SOCKET
> procedure opens a client-side TCP/IP Internet socket as an IDL file
> unit" so I don't know if I can do what I want.
>
> I'm using Windows, anykind of help is appreciated...
>
> nata
You can try idl_tools from Randall Frank and Ronn Kling:
http://www.kilvarock.com/idl_tools.htm. The description says, that the
SOCK_CREATEPORT(portnum) function creates a listening socket.
But I don't know, if it works. I never tried it.
Heinz
|
|
|
|
Re: communication between 2 computers using a socket [message #71729 is a reply to message #71726] |
Mon, 19 July 2010 12:21  |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
On Jul 19, 2:14 pm, nata <bernat.puigdomen...@gmail.com> wrote:
> Hi guys,
>
> Is it possible to communicate 2 PCs via a socket ?
> I have an internal network and I just want to make 2 computers
> communicate with each other in order to have control for 1 program.
> My initial idea is to open a socket and read and write from these 2
> different computers. Reading the documentation I see "The SOCKET
> procedure opens a client-side TCP/IP Internet socket as an IDL file
> unit" so I don't know if I can do what I want.
I don't think so. You need a way to have a "listen" socket - i.e. the
server side - which IDL does not appear to provide.
Craig
|
|
|