Good to hear that. Just tested that my client can talk to the new hybi-10 version of misultin. I found two things interesting:<div>1. In the handshake I use "Upgrade: WebSocket", while you use "Upgrade: websocket". Obviously yours is correct because your version is inline with the latest spec. Mine is old. The change happened between hybi-03 and hybi-04. I didn't find out why.</div>
<div>2. Opcode 0x1 and 0x2. Is it only a hint for how to interpret the content of the frame while doesn't affect the content body at all just as MIME in HTTP? </div><div><br></div><div>Might do more test later.</div>
<div>
<br></div><div>Thanks</div><div>Andy</div><br><div class="gmail_quote">On Wed, Aug 3, 2011 at 1:20 AM, Roberto Ostinelli <span dir="ltr"><<a href="mailto:roberto@widetag.com">roberto@widetag.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">hi andy,<br>
<br>
many code portions of this project of yours have been integrated into
misultin 0.8.1-dev. i've added behaviours to support various websocket implementations.<br><br>please feel free to check it out and comment.<br>
<br>
<a href="https://github.com/ostinelli/misultin/tree/dev" target="_blank">https://github.com/ostinelli/misultin/tree/dev</a><br>
<br>
r.<br><br><br><div class="gmail_quote">2011/7/29 Andy W. Song <span dir="ltr"><<a href="mailto:wsongcn@gmail.com" target="_blank">wsongcn@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div></div><div class="h5">
Hi,
<div><br></div><div>Not to reinvent the wheel, just as an exercise for learning Erlang. </div><div><br></div><div><a href="https://github.com/awsong/erl_websocket" target="_blank">Here</a> you go. Copied some ideas from <a href="https://github.com/MiCHiLU/erlang_websocket" target="_blank">this</a> project as well as misultin and cowboy. </div>
<div><br></div><div>It is not complete right now. Doesn't support segment yet, which I hope is not used very often. And it should be fairly easy to replace the current implementation in misultin. </div><div><br></div>
<div>Enjoy. </div><div><br></div><font color="#888888"><div>Andy</div><div><br></div>
</font><br></div></div>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">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>
</blockquote></div><br><br clear="all"><br>-- <br><div>---------------------------------------------------------------</div><div>有志者,事竟成,破釜沉舟,百二秦关终属楚</div><div>苦心人,天不负,卧薪尝胆,三千越甲可吞吴</div><br>