[zeromq-dev] Use IPC socket under win32 service

Arnaud Loonstra arnaud at sphaero.org
Tue Mar 15 12:04:27 CET 2022


Yes IPC support on Windows has been added since Windows started 
supporting AF_UNIX sockets.

On 15-03-2022 12:00, momchil at bojinov.info wrote:
> Hello,
> 
> But:
> 
> https://github.com/zeromq/libzmq/releases/tag/v4.3.3 
> <https://github.com/zeromq/libzmq/releases/tag/v4.3.3>
> 
> (added support for IPC on Windows 10 via AF_UNIX)
> 
> Tested it and works OK while under interactive session.
> 
> It is only under Windows service that I run into trouble.
> 
> Momchil
> 
> *From:* zeromq-dev <zeromq-dev-bounces at lists.zeromq.org> *On Behalf Of 
> *Joerg Schneider-Simon
> *Sent:* Tuesday, March 15, 2022 11:23 AM
> *To:* zeromq-dev at lists.zeromq.org
> *Subject:* Re: [zeromq-dev] Use IPC socket under win32 service
> 
> Hi Momchil,
> 
> Windows does not provide IPC sockets.
> you'll have to stick to TCP sockets
> 
> cheers,
> 
> Joerg
> 
> Am 15.03.22 um 09:58 schrieb momchil at bojinov.info 
> <mailto:momchil at bojinov.info>:
> 
>     Hello,
> 
>     I have a client server poc code that runs ok in user mode
>     it uses zmq.REQ context and an IPC socket to send over json and
>     receive back json
> 
>     problem is when I wrap the server part in win32service code
>     both service and client app run under the same user but I still fail
>     to send data over
>     works just fine if I switch to TCP socket
> 
>     PoC code:
> 
>     https://github.com/bozhinov/cache-poc
>     <https://github.com/bozhinov/cache-poc>
> 
>     Environment:
> 
>     libzmq version: pyzmq 14.1.1, libzmq 4.3.4
> 
>     OS: Windows Server 2022
> 
>     Python 3.10.2 x64
> 
>     Is this even supposed to work?
> 
>     Momchil
> 
> 
> 
>     _______________________________________________
> 
>     zeromq-dev mailing list
> 
>     zeromq-dev at lists.zeromq.org  <mailto:zeromq-dev at lists.zeromq.org>
> 
>     https://lists.zeromq.org/mailman/listinfo/zeromq-dev  <https://lists.zeromq.org/mailman/listinfo/zeromq-dev>
> 
> -- 
> 
> *Jörg Schneider-Simon*
> Chief Technology Officer & Co-Founder
> 
> bowbridge Software GmbH
> Donnersbergerstrasse 22A
> D-80634 Munich / GERMANY
> 
> 	
> 
> https://www.bowbridge.net <https://www.bowbridge.net>
> Tel.: +49 - 6227 - 698 99 - 50
> Fax: +49 - 6227 - 698 99 - 59
> 
> 
> Geschäftsführerin: Andrea Simon
> Amtsgericht Mannheim - HRB 719011
> 
> *Wichtiger Hinweis:
> *Diese Information ist für den Gebrauch durch die Person oder die 
> Firma/Organisation
> bestimmt, die in der Empfängeradresse benannt sind und unterliegt u. U. dem
> Berufsgeheimnis, dem Schutz von Arbeitsergebnissen oder anderweitigem 
> rechtlichen Schutz.
> Wenn Sie nicht der angegebene Empfänger sind, nehmen Sie
> bitte zur Kenntnis, dass Weitergabe, Kopieren, Verteilung oder Nutzung des
> Inhalts dieser eMail-Übertragung unzulässig ist. Falls Sie diese eMail
> irrtümlich erhalten haben, benachrichtigen Sie den Absender bitte 
> unverzüglich
> telefonisch oder durch eine eMail.
> 
> *Important Note:*
> This e-mail may contain trade secrets or privileged, undisclosed or 
> confidential
> information or otherwise protected by work product immunity or other legal
> rules. If you have received this e-mail in error, you are hereby 
> notified that
> any review, copying or distribution of it is strictly prohibited.
> 
> 
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev


More information about the zeromq-dev mailing list