[nanomsg] Re: nanomsg sockets in browser?

  • From: Ranier VF <ranier_gyn@xxxxxxxxxxx>
  • To: "nanomsg@xxxxxxxxxxxxx" <nanomsg@xxxxxxxxxxxxx>
  • Date: Wed, 13 Apr 2016 16:06:17 +0000

Hi,
Start with this:
http://nanomsg.org/v0.8/nn_ws.7.html
 
Best,
Ranier VilelaDate: Wed, 13 Apr 2016 18:45:25 +0300
Subject: [nanomsg] nanomsg sockets in browser?
From: lacrima.maxim@xxxxxxxxx
To: nanomsg@xxxxxxxxxxxxx

Hello,
I am new to nanomsg, sorry if my question doesn't make any sense.
As far as I understand, nanomsg supports websockets as a transport layer. Do I 
correctly understand, that there should be some pure javascript implementation 
of nanomsg (or at least partial implementation that builds on top of WebSocket 
object) in order for it to be usable in the browser? Is there a library that 
implements this?
Or to ask the question from a different angle. If I bind a pub socket on a 
server to 'ws://addr:port', how would I subscribe to it from the browser?
-- 
Regards,
Maxim
                                          

Other related posts: