So you recorded what I thought was a private skype conversation into a wav file and you are sending our private skype chat to an entire mailing list.<div><br></div><div>Interesting. Moving on....<br><br><div class="gmail_quote">
On Thu, May 3, 2012 at 4:29 AM, Joseph Goldberg <span dir="ltr"><<a href="mailto:silver.buyer@yahoo.com" target="_blank">silver.buyer@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div style="font-family:'times new roman','new york',times,serif;font-size:12pt"><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-family:'times new roman','new york',times,serif;font-size:12pt"><span>I have a wave file of our conversation over skype, where he gives other details.</span></div><div style="font-family:'times new roman','new york',times,serif;font-size:12pt">
<span><br></span></div><div style="font-family:'times new roman','new york',times,serif;font-size:12pt"> <a href="http://armstrongonsoftware.blogspot.ca/2009/12/comet-is-dead-long-live-websockets.html" target="_blank">http://armstrongonsoftware.blogspot.ca/2009/12/comet-is-dead-long-live-websockets.html</a></div>
<div style="font-family:'times new roman','new york',times,serif;font-size:12pt"><br></div><div><a href="http://blog.dberg.org/2012/04/using-gproc-and-cowboy-to-pass-messages.html" target="_blank">http://blog.dberg.org/2012/04/using-gproc-and-cowboy-to-pass-messages.html</a><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-family:'times new roman','new york',times,serif;font-size:12pt"><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><a href="http://www.codeproject.com/Articles/35439/Fix-Protocol-C-Fix-Engine-Source-Code" target="_blank">http://www.codeproject.com/Articles/35439/Fix-Protocol-C-Fix-Engine-Source-Code</a><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><br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>