tag:blogger.com,1999:blog-3240993750799145183.post1583099003959950586..comments2023-08-13T13:27:14.520+05:30Comments on Sidekick: Minimal WebSocket Broadcast Server in PythonTanmayhttp://www.blogger.com/profile/05342457728508357508noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-3240993750799145183.post-78972190769742748992015-10-16T17:42:47.884+05:302015-10-16T17:42:47.884+05:30You have no idea how you helpedme!! Sincerely, tha...You have no idea how you helpedme!! Sincerely, thank youBebophttps://www.blogger.com/profile/00225375881576567528noreply@blogger.comtag:blogger.com,1999:blog-3240993750799145183.post-26870522721821222222015-03-26T00:00:17.819+05:302015-03-26T00:00:17.819+05:30Thank you so much for the code. It solved my probl...Thank you so much for the code. It solved my problem with getting and sending message. very simple and understandable. Cheers!Ranhttps://www.blogger.com/profile/13547751431352852077noreply@blogger.comtag:blogger.com,1999:blog-3240993750799145183.post-47852250739943844162013-08-18T13:50:21.165+05:302013-08-18T13:50:21.165+05:30Thanks for your help. I will look at the link, and...Thanks for your help. I will look at the link, and try it own my own. :)ghttps://www.blogger.com/profile/17016013752002455379noreply@blogger.comtag:blogger.com,1999:blog-3240993750799145183.post-73292922874813406342013-08-16T22:17:42.969+05:302013-08-16T22:17:42.969+05:30Glad that you are finding this code snippet useful...Glad that you are finding this code snippet useful. As I mentioned in the article, this snippet is a very simple but incomplete implementation. You are right in identifying where the limitation comes from.<br /><br />To send larger amounts of data you need to implement extended payload length as mentioned in section 5.2 of the rfc : http://tools.ietf.org/html/rfc6455#section-5.2<br /><br />Tanmayhttps://www.blogger.com/profile/05342457728508357508noreply@blogger.comtag:blogger.com,1999:blog-3240993750799145183.post-81846523568875427792013-08-16T16:26:12.556+05:302013-08-16T16:26:12.556+05:30I meant I >cannot< send long data...I meant I >cannot< send long data...ghttps://www.blogger.com/profile/17016013752002455379noreply@blogger.comtag:blogger.com,1999:blog-3240993750799145183.post-60789567518716200722013-08-16T13:40:10.048+05:302013-08-16T13:40:10.048+05:30Thanks for the article. I have some problems howev...Thanks for the article. I have some problems however.<br />I can send longer data: I guess the problem is with line 48:<br />resp = bytearray([0b10000001, len(data)])<br /><br />Could you please explain me what that line does and how to make this working for even really long messages?ghttps://www.blogger.com/profile/17016013752002455379noreply@blogger.com