Re: [python-win32] zmq under win32service

2022-03-07 Thread Mark Hammond
I've no clear idea what might be going wrong, but: * The `while True` should be fine - it obviously has limitations, but will work in the simple case. * You need some way of working out *what* is going wrong before you can work out *why*. It's possible the `print` statements are failing - I

[python-win32] zmq under win32service

2022-03-07 Thread momchil
Hello, I m trying to serve 0mq listener under win32 service Code works fine while in interactive session Client: import zmq, json context = zmq.Context() socket = context.socket(zmq.REQ) socket.connect('ipc://cache/mm') socket.send_json(json.dumps({"2" : "1"})) message =