[zeromq-dev] ZMQ_WEBSOCKET - any work in progress?

Justin Karneges justin at affinix.com
Sun Aug 11 02:09:57 CEST 2013


On 08/09/2013 10:50 AM, Michael Haberler wrote:
>
> Am 27.06.2013 um 20:58 schrieb Pieter Hintjens <ph at imatix.com>:
>
>> So ZMQ_STREAM is now a usable socket type for TCP clients and servers,
>> and I've made a test case that shows simple a HTTP ping-pong, in
>> tests/test_stream.cpp.
>
> I think it's a great idea!
>
> Is anybody planning/working on a similar idea for websockets (maybe using the libwebsockets.org code)?

You could just use ZMQ_STREAM to talk to a websocket client/server. IMO, 
anything beyond what is supported by 0MQ should be the job of a gateway 
worker. Websockets would be in the realm of Mongrel2, ZeroGW, Zurl, etc.

Even ZMQ_STREAM smells like feature creep ("send and receive from a 
non-0MQ peer" - what the what?). But everyone loves a good raw mode.

Justin



More information about the zeromq-dev mailing list