<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span></span></div><div> </div> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"><font size="2" face="Arial"><br> </font> </div> <br><div id="yiv1325476275"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div style="font-size: 12pt; font-family: times, serif; "><span>Can someone help me getting user authentication done with websockets and rabbitmq to consume and distribute streaming quotes to my subscribed users.</span></div><div style="font-size: 12pt; font-family: times, serif; "><span>I have a wave file of our conversation over skype, where he gives other
details.</span></div><div style="font-size: 12pt; font-family: times, serif; "><span><br></span></div><div style="font-size: 12pt; font-family: times, serif; "> http://armstrongonsoftware.blogspot.ca/2009/12/comet-is-dead-long-live-websockets.html</div><div style="font-size: 12pt; font-family: times, serif; "><br></div><div>http://blog.dberg.org/2012/04/using-gproc-and-cowboy-to-pass-messages.html<br></div><div><div>[6:46:27 PM] Adam Denenberg: Our last step is to actually broadcast a message that contains this format. Now, here is where you need to roll your own logic to determine how you want to ingest messages (queue, webservice, etc), but once your app gets the message you are waiting for all you need is one line to send the message:</div><div><br></div><div>gproc:send({p, l, ?WSKey}, {self(), ?WSKey, Msg})</div><div>[6:46:44 PM] Adam Denenberg: This simply sends message "Msg" to all the processes that were registered with the key ?WSKey
and then gets handled in websocket_info and thus passed over the websocket connection.</div><div><br></div></div><div style="font-size: 12pt; font-family: times, serif; "><br></div><div><font size="3">also need fix protocol </font>implementation<font size="3"> done with MQ
and sequence number checking which he does not do</font></div><div><font size="3"><br></font></div><div><font size="3"><br></font></div><div>http://www.codeproject.com/Articles/35439/Fix-Protocol-C-Fix-Engine-Source-Code<br></div><div><br></div><div>Yes that's true. but tcpip messages are not erroneus/corrupted. the point of this code is to be fast - eg i do not verify the checksum. in fact i don't even bother to check the incoming message sequence number. i just have two safety checks in the code which check the message starts 8= and then 35=.<br></div></div></div></div><br><br> </div> </div> </div></body></html>