Boost logo

Boost Users :

Subject: Re: [Boost-users] Fast IPC between Linux and Windows on the same host
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2014-01-13 01:22:43


On 25/12/2013 05:49, Quoth U.Mutlu:
> what is the fastest cross-platform IPC mechanism
> between Linux and Windows on the same physical host?
>
> Additional info:
> Host OS is Linux (Debian), Windows XP is hosted in VirtualBox.
> Of course TCP/IP sockets is a possibility, but I need something much
> faster.
> My preference would be to use shared memory,
> but is it possible in such an heterogene environment?
> And: can Boost.Interprocess be used for this scenario?

Part of the point of a virtual PC is that it's an isolate environment,
so shared memory wouldn't work even if they were the same OS.

If you know that it's hosted in VirtualBox you could see if there's some
kind of host-to-guest communication API provided by VirtualBox itself (I
know that VMware has something like that, for example; I don't know if
VirtualBox has something similar or not).

Short of that, you'll need to use whatever you'd use if they were two
separate PCs (albeit hopefully on a shared network) -- most likely sockets.

Or you'll need to see if you can recompile whatever is running in the
guest so that it can run on the host directly instead.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net