Interprocess Communication Windows?

What is the best way to do interprocess communication under windows?

I've tried:

- Process Signals, but trapping them doesn't work

- Win32::Event but in the second Process i doesn't get the handle

Can somebody point me in the right direction and give me some examples?

thx

···

--
Posted via http://www.ruby-forum.com/.

there's always the old hack of binding and connecting to localhost :slight_smile:

···

On Mon, Apr 28, 2008 at 1:38 AM, Christian Kerth <christian.kerth@dynamicmedia.at> wrote:

What is the best way to do interprocess communication under windows?

I've tried:

- Process Signals, but trapping them doesn't work

- Win32::Event but in the second Process i doesn't get the handle

Can somebody point me in the right direction and give me some examples?

thx
--
Posted via http://www.ruby-forum.com/\.

Another, not so technically advanced solution will be use DRb as
exchange mechanism...

Of course, if both sides are implemented by you :slight_smile:

Also, it is cross platform.

HTH,

···

On Apr 28, 4:38 am, Christian Kerth <christian.ke...@dynamicmedia.at> wrote:

What is the best way to do interprocess communication under windows?

I've tried:

- Process Signals, but trapping them doesn't work

- Win32::Event but in the second Process i doesn't get the handle

Can somebody point me in the right direction and give me some examples?

--
Luis Lavena

Luis Lavena wrote:

Another, not so technically advanced solution will be use DRb as
exchange mechanism...

Using DRb now, seems to fit my purpose. Thanks!

···

--
Posted via http://www.ruby-forum.com/\.