<?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: An EventMachine Tutorial</title>
	<atom:link href="http://20bits.com/articles/an-eventmachine-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://20bits.com/articles/an-eventmachine-tutorial/</link>
	<description>Driven by Data</description>
	<lastBuildDate>Wed, 28 Jul 2010 21:50:46 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: data recovery</title>
		<link>http://20bits.com/articles/an-eventmachine-tutorial/comment-page-1/#comment-4979</link>
		<dc:creator>data recovery</dc:creator>
		<pubDate>Wed, 28 Apr 2010 14:08:10 +0000</pubDate>
		<guid isPermaLink="false">http://20bits.com/?p=144#comment-4979</guid>
		<description>eventmachine tutorial&lt;br&gt;i really wanted to find an &quot;eventmachine tutorial&quot; so I googled for it and saw this post as the #1 result.It was pretty frustrating, as there is no doubt it won&#039;t help me.</description>
		<content:encoded><![CDATA[<p>eventmachine tutorial<br />i really wanted to find an &#8220;eventmachine tutorial&#8221; so I googled for it and saw this post as the #1 result.It was pretty frustrating, as there is no doubt it won&#39;t help me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: patparslow</title>
		<link>http://20bits.com/articles/an-eventmachine-tutorial/comment-page-1/#comment-4968</link>
		<dc:creator>patparslow</dc:creator>
		<pubDate>Sun, 21 Mar 2010 17:17:28 +0000</pubDate>
		<guid isPermaLink="false">http://20bits.com/?p=144#comment-4968</guid>
		<description>Second sample never ran anywhere, did it? :-)  smart quotes, spare back tick...&lt;br&gt;&lt;br&gt;#!/usr/bin/env ruby&lt;br&gt;&lt;br&gt;require &#039;rubygems&#039;&lt;br&gt;require &#039;eventmachine&#039;&lt;br&gt;&lt;br&gt;module HttpHeaders &lt;br&gt;  def post_init&lt;br&gt;    send_data &quot;GET /rnrn&quot;&lt;br&gt;    @data = &quot;&quot;&lt;br&gt;  end&lt;br&gt;  &lt;br&gt;  def receive_data(data)&lt;br&gt;    @data &lt;&lt; data&lt;br&gt;  end&lt;br&gt;  &lt;br&gt;  def unbind&lt;br&gt;    if @data =~ /[n][r]*[n]/m&lt;br&gt;      $`.each {&#124;line&#124; puts &quot;&gt;&gt;&gt; #{line}&quot; }&lt;br&gt;    end&lt;br&gt;    &lt;br&gt;    EventMachine::stop_event_loop&lt;br&gt;  end&lt;br&gt;end&lt;br&gt;&lt;br&gt;EventMachine::run do&lt;br&gt;  EventMachine::connect ARGV[0], 80, HttpHeaders&lt;br&gt;end</description>
		<content:encoded><![CDATA[<p>Second sample never ran anywhere, did it? :-)  smart quotes, spare back tick&#8230;</p>
<p>#!/usr/bin/env ruby</p>
<p>require &#39;rubygems&#39;<br />require &#39;eventmachine&#39;</p>
<p>module HttpHeaders <br />  def post_init<br />    send_data &#8220;GET /rnrn&#8221;<br />    @data = &#8220;&#8221;<br />  end</p>
<p>  def receive_data(data)<br />    @data &lt;&lt; data<br />  end</p>
<p>  def unbind<br />    if @data =~ /[n][r]*[n]/m<br />      $`.each {|line| puts &#8220;&gt;&gt;&gt; #{line}&#8221; }<br />    end</p>
<p>    EventMachine::stop_event_loop<br />  end<br />end</p>
<p>EventMachine::run do<br />  EventMachine::connect ARGV[0], 80, HttpHeaders<br />end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hibs</title>
		<link>http://20bits.com/articles/an-eventmachine-tutorial/comment-page-1/#comment-4253</link>
		<dc:creator>hibs</dc:creator>
		<pubDate>Fri, 01 May 2009 12:18:19 +0000</pubDate>
		<guid isPermaLink="false">http://20bits.com/?p=144#comment-4253</guid>
		<description>moar</description>
		<content:encoded><![CDATA[<p>moar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glenn Rempe</title>
		<link>http://20bits.com/articles/an-eventmachine-tutorial/comment-page-1/#comment-2972</link>
		<dc:creator>Glenn Rempe</dc:creator>
		<pubDate>Fri, 23 May 2008 22:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://20bits.com/?p=144#comment-2972</guid>
		<description>In the first code sample I think you meant : &#039;port = 8080&#039; and not &#039;post = 8080&#039;

Cheers</description>
		<content:encoded><![CDATA[<p>In the first code sample I think you meant : &#8216;port = 8080&#8242; and not &#8216;post = 8080&#8242;</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
</channel>
</rss>
