Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any optio to use this library over websocket #78

Open
Elsaligi opened this issue Dec 2, 2022 · 2 comments
Open

Is there any optio to use this library over websocket #78

Elsaligi opened this issue Dec 2, 2022 · 2 comments

Comments

@Elsaligi
Copy link

Elsaligi commented Dec 2, 2022

Hi,

Is there any option to use this library over websocket. For enterprise network only 443 is open.
Please suggest?

@jeffbass
Copy link
Owner

jeffbass commented Dec 7, 2022

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."

@shumwaymark
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants