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

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

On Mon, Apr 28, 2008 at 1:38 AM, Christian K.

On Apr 28, 4:38 am, Christian K. [email protected]
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?

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,

Luis L. wrote:

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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs