<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: A minimal Python WebSocket server</title>
	<atom:link href="http://popdevelop.com/2010/03/a-minimal-python-websocket-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://popdevelop.com/2010/03/a-minimal-python-websocket-server/</link>
	<description>popular programming and design</description>
	<lastBuildDate>Thu, 10 May 2012 17:25:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Liam</title>
		<link>http://popdevelop.com/2010/03/a-minimal-python-websocket-server/comment-page-1/#comment-17479</link>
		<dc:creator>Liam</dc:creator>
		<pubDate>Sat, 07 Jan 2012 14:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://popdevelop.com/?p=92#comment-17479</guid>
		<description>Is there any chance you can update this article, I can&#039;t seem to get it working so I assume this is an old protocol. Been searching for months just for a really simple implementation fo WebSockets</description>
		<content:encoded><![CDATA[<p>Is there any chance you can update this article, I can&#8217;t seem to get it working so I assume this is an old protocol. Been searching for months just for a really simple implementation fo WebSockets</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Notaker112358</title>
		<link>http://popdevelop.com/2010/03/a-minimal-python-websocket-server/comment-page-1/#comment-17474</link>
		<dc:creator>David Notaker112358</dc:creator>
		<pubDate>Sat, 31 Dec 2011 15:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://popdevelop.com/?p=92#comment-17474</guid>
		<description>Nice. One minor issue though: on some versions of python, the following section of code results in an EOL:

handshake = &#039;  HTTP/1.1 101 Web Socket Protocol Handshakern  Upgrade: WebSocketrn  Connection: Upgradern  WebSocket-Origin: http://localhost:8888rn  WebSocket-Location: ws://localhost:9999/rnrn  &#039;  

The problem can be fixed by using triple quotes instead of end-of-line backslashes:

handshake = &#039;&#039;&#039;
HTTP/1.1 101 Web Socket Protocol Handshakern  
Upgrade: WebSocketrn  
Connection: Upgradern  
WebSocket-Origin: http://localhost:8888rn  
WebSocket-Location: ws://localhost:9999/rnrn  
&#039;&#039;&#039;</description>
		<content:encoded><![CDATA[<p>Nice. One minor issue though: on some versions of python, the following section of code results in an EOL:</p>
<p>handshake = &#8217;  HTTP/1.1 101 Web Socket Protocol Handshakern  Upgrade: WebSocketrn  Connection: Upgradern  WebSocket-Origin: http://localhost:8888rn  WebSocket-Location: ws://localhost:9999/rnrn  &#8217;  </p>
<p>The problem can be fixed by using triple quotes instead of end-of-line backslashes:</p>
<p>handshake = &#8221;&#8217;<br />
HTTP/1.1 101 Web Socket Protocol Handshakern <br />
Upgrade: WebSocketrn <br />
Connection: Upgradern <br />
WebSocket-Origin: <a href="http://localhost:8888rn " rel="nofollow">http://localhost:8888rn </a><br />
WebSocket-Location: ws://localhost:9999/rnrn <br />
&#8221;&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Mills / prologic</title>
		<link>http://popdevelop.com/2010/03/a-minimal-python-websocket-server/comment-page-1/#comment-17209</link>
		<dc:creator>James Mills / prologic</dc:creator>
		<pubDate>Fri, 25 Feb 2011 02:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://popdevelop.com/?p=92#comment-17209</guid>
		<description>Based on the code found in this blog (and other reading material on the web) circuits.web (1) as of revision fe3965b21fe2 now implements a working WebSockets Server:

https://bitbucket.org/prologic/circuits/changeset/fe3965b21fe2

This allows you to have a WebSockets server that sits alongside your application server (no need for a separate server, etc). This will be integrated into the circuits.web namespace before the next release.

cheers
James

1. http://bitbucket.org/prologic/circuits/</description>
		<content:encoded><![CDATA[<p>Based on the code found in this blog (and other reading material on the web) circuits.web (1) as of revision fe3965b21fe2 now implements a working WebSockets Server:</p>
<p><a href="https://bitbucket.org/prologic/circuits/changeset/fe3965b21fe2" rel="nofollow">https://bitbucket.org/prologic/circuits/changeset/fe3965b21fe2</a></p>
<p>This allows you to have a WebSockets server that sits alongside your application server (no need for a separate server, etc). This will be integrated into the circuits.web namespace before the next release.</p>
<p>cheers<br />
James</p>
<p>1. <a href="http://bitbucket.org/prologic/circuits/" rel="nofollow">http://bitbucket.org/prologic/circuits/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johan Brissmyr</title>
		<link>http://popdevelop.com/2010/03/a-minimal-python-websocket-server/comment-page-1/#comment-17198</link>
		<dc:creator>Johan Brissmyr</dc:creator>
		<pubDate>Thu, 03 Feb 2011 09:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://popdevelop.com/?p=92#comment-17198</guid>
		<description>Yes, you&#039;re right. The drafts are not yet stable. I&#039;ll update the post and state the relevant draft version.</description>
		<content:encoded><![CDATA[<p>Yes, you&#8217;re right. The drafts are not yet stable. I&#8217;ll update the post and state the relevant draft version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger Erens</title>
		<link>http://popdevelop.com/2010/03/a-minimal-python-websocket-server/comment-page-1/#comment-17136</link>
		<dc:creator>Roger Erens</dc:creator>
		<pubDate>Tue, 01 Feb 2011 13:48:08 +0000</pubDate>
		<guid isPermaLink="false">http://popdevelop.com/?p=92#comment-17136</guid>
		<description>You might make note that this code is a little outdated now that draft-74 has been superseded. Problem (at least for me) is to find out which browser-version is using which draft...

Thanks for your example, though.</description>
		<content:encoded><![CDATA[<p>You might make note that this code is a little outdated now that draft-74 has been superseded. Problem (at least for me) is to find out which browser-version is using which draft&#8230;</p>
<p>Thanks for your example, though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MrGretchev</title>
		<link>http://popdevelop.com/2010/03/a-minimal-python-websocket-server/comment-page-1/#comment-104</link>
		<dc:creator>MrGretchev</dc:creator>
		<pubDate>Sat, 19 Jun 2010 01:39:23 +0000</pubDate>
		<guid isPermaLink="false">http://popdevelop.com/?p=92#comment-104</guid>
		<description>Thank you so much. I&#039;ve been playing with a few other examples, but as has been said before, have too much functionality for a simple demo. I just wanted to handshake and send data, which is what you do here!

Thanks again!</description>
		<content:encoded><![CDATA[<p>Thank you so much. I&#8217;ve been playing with a few other examples, but as has been said before, have too much functionality for a simple demo. I just wanted to handshake and send data, which is what you do here!</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://popdevelop.com/2010/03/a-minimal-python-websocket-server/comment-page-1/#comment-82</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Sat, 29 May 2010 05:43:48 +0000</pubDate>
		<guid isPermaLink="false">http://popdevelop.com/?p=92#comment-82</guid>
		<description>Hi Eventlet now has support for websocket in core:

http://eventlet.net/doc/examples.html#websocket-server-example

And I&#039;m currently adding suport for it to repoze.bfg in the rpz.websocket library:

http://github.com/boothead/rpz.websocket

The big advantage of eventlet is that the socket fiddling has already been taken car of to be non blocking, and the big advantage of repoze is that you can have a websocket connections available at the same url as the original representation you&#039;re connecting from, i.e:

You have a representation of a server at

http://example.com/server1/
then your websocket connection goes to ws://example.com/server1/ for the live streaming events related to the server (or whatever) represented by the /server1/ url.

Cheers,
Ben</description>
		<content:encoded><![CDATA[<p>Hi Eventlet now has support for websocket in core:</p>
<p><a href="http://eventlet.net/doc/examples.html#websocket-server-example" rel="nofollow">http://eventlet.net/doc/examples.html#websocket-server-example</a></p>
<p>And I&#8217;m currently adding suport for it to repoze.bfg in the rpz.websocket library:</p>
<p><a href="http://github.com/boothead/rpz.websocket" rel="nofollow">http://github.com/boothead/rpz.websocket</a></p>
<p>The big advantage of eventlet is that the socket fiddling has already been taken car of to be non blocking, and the big advantage of repoze is that you can have a websocket connections available at the same url as the original representation you&#8217;re connecting from, i.e:</p>
<p>You have a representation of a server at</p>
<p><a href="http://example.com/server1/" rel="nofollow">http://example.com/server1/</a><br />
then your websocket connection goes to ws://example.com/server1/ for the live streaming events related to the server (or whatever) represented by the /server1/ url.</p>
<p>Cheers,<br />
Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://popdevelop.com/2010/03/a-minimal-python-websocket-server/comment-page-1/#comment-80</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Sat, 22 May 2010 23:23:25 +0000</pubDate>
		<guid isPermaLink="false">http://popdevelop.com/?p=92#comment-80</guid>
		<description>Very good tutorial, but I ran into one minor issue.  If you&#039;re just pasting the JavaScript part into an HTML file and pointing your browser at it, it won&#039;t work.  You&#039;ll need to change line 10 of the python script to:  

WebSocket-Origin: null\r\n\  

And if you&#039;re running it from a webserver; that line has to show the correct address and port that the webserver is running on.</description>
		<content:encoded><![CDATA[<p>Very good tutorial, but I ran into one minor issue.  If you&#8217;re just pasting the JavaScript part into an HTML file and pointing your browser at it, it won&#8217;t work.  You&#8217;ll need to change line 10 of the python script to:  </p>
<p>WebSocket-Origin: null\r\n\  </p>
<p>And if you&#8217;re running it from a webserver; that line has to show the correct address and port that the webserver is running on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amy</title>
		<link>http://popdevelop.com/2010/03/a-minimal-python-websocket-server/comment-page-1/#comment-51</link>
		<dc:creator>Amy</dc:creator>
		<pubDate>Fri, 23 Apr 2010 18:20:32 +0000</pubDate>
		<guid isPermaLink="false">http://popdevelop.com/?p=92#comment-51</guid>
		<description>I read lots of articles and tutorials describing how to code stuff and all too often they are cluttered with a bunch of fancy stuff that isn&#039;t necessary for the solution. By describing the websocket server in this minimalistic way makes it easy to understand and extend! Thanks for sharing!</description>
		<content:encoded><![CDATA[<p>I read lots of articles and tutorials describing how to code stuff and all too often they are cluttered with a bunch of fancy stuff that isn&#8217;t necessary for the solution. By describing the websocket server in this minimalistic way makes it easy to understand and extend! Thanks for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Larsson</title>
		<link>http://popdevelop.com/2010/03/a-minimal-python-websocket-server/comment-page-1/#comment-14</link>
		<dc:creator>Joel Larsson</dc:creator>
		<pubDate>Fri, 02 Apr 2010 15:57:31 +0000</pubDate>
		<guid isPermaLink="false">http://popdevelop.com/?p=92#comment-14</guid>
		<description>Nice tutorial, lets see if we can use this in dogvibes, http://hackr.se/code/dogvibes

/Joel</description>
		<content:encoded><![CDATA[<p>Nice tutorial, lets see if we can use this in dogvibes, <a href="http://hackr.se/code/dogvibes" rel="nofollow">http://hackr.se/code/dogvibes</a></p>
<p>/Joel</p>
]]></content:encoded>
	</item>
</channel>
</rss>

