[zeromq-dev] IPC on Windows (again)

Martin Sustrik sustrik at 250bpm.com
Tue Mar 22 08:31:17 CET 2011


On 03/22/2011 04:13 AM, Marcelo Cantos wrote:

>    1. MartinS: For the same reasons that MartinL highlights, I don't see
>       a file-dump working. In addition, how does a connecting peer know
>       which port to connect to if the binding peer hasn't fired up yet?
>       If the connecting peer chooses a port on behalf of its future
>       peer, how do you prevent something other than a ZeroMQ "ipc://"
>       service from usurping it in the meantime? You can guarantee this
>       with IPC on other platforms by picking strongly unique names (e.g.
>       a UUID shared only by a service and its peers). The only way I can
>       see to guarantee this with a port-mapping approach is for a
>       process to sit on the port on behalf of the not-yet-present
>       binding peer.

Points taken. Thanks!

Martin



More information about the zeromq-dev mailing list