imagezmq
imagezmq copied to clipboard
Is there any optio to use this library over websocket
Hi,
Is there any option to use this library over websocket. For enterprise network only 443 is open. Please suggest?
No, there is no option to use imageZMQ
with websockets. This is because websockets and ZMQ sockets are completely different communications / message protocols. They are not compatible.
There is a good answer on this StackOverflow thread.
Quoting from one of the answers there: "WebSockets is just a protocol (similar to http), while ZeroMQ is protocol and server which is responsible for lifecycle of your message from the moment it is received until it's consumed."
Additionally, the ZMQ protocol can use any TCP port, including 443. So unless the firewall is filtering based on protocol, then it should work. For example, it would seem odd to permit WebSockets, but not HTTPS? Could be rigged that way, though more common to allow any TCP-based protocol. Have you tried it?