[zeromq-dev] Use IPC socket under win32 service

momchil at bojinov.info momchil at bojinov.info
Thu Mar 17 14:18:21 CET 2022


An yet I don’t feel like a winner

 

Really need some help here

 

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

 

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

 

-- 

Jörg Schneider-Simon
Chief Technology Officer & Co-Founder





bowbridge Software GmbH
Donnersbergerstrasse 22A
D-80634 Munich / GERMANY

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20220317/978c0e29/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6334 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20220317/978c0e29/attachment.png>


More information about the zeromq-dev mailing list