<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://theeyetribe.com/forum/feed.php?f=11&amp;t=438" />

<title>The Eye Tribe</title>
<subtitle>Developer Forum</subtitle>
<link href="http://theeyetribe.com/forum/index.php" />
<updated>2015-03-11T12:22:58+02:00</updated>

<author><name><![CDATA[The Eye Tribe]]></name></author>
<id>http://theeyetribe.com/forum/feed.php?f=11&amp;t=438</id>
<entry>
<author><name><![CDATA[DougNS]]></name></author>
<updated>2015-03-11T12:22:58+02:00</updated>
<published>2015-03-11T12:22:58+02:00</published>
<id>http://theeyetribe.com/forum/viewtopic.php?t=438&amp;p=1823#p1823</id>
<link href="http://theeyetribe.com/forum/viewtopic.php?t=438&amp;p=1823#p1823"/>
<title type="html"><![CDATA[Errors in the C# samples on website]]></title>

<content type="html" xml:base="http://theeyetribe.com/forum/viewtopic.php?t=438&amp;p=1823#p1823"><![CDATA[
On this page (<!-- m --><a class="postlink" href="http://dev.theeyetribe.com/csharp/">http://dev.theeyetribe.com/csharp/</a><!-- m -->), there are errors that prevent the source from compiling. This webpage should be updated.<br /><br />1. ListenerLoop()<br /><dl class="codebox"><dt>Code: </dt><dd><code>p.RawData = json;<br />p.Category = (string)jObject&#91;&quot;category&quot;&#93;;<br />p.Request = (string)jObject&#91;&quot;request&quot;&#93;;<br />p.StatusCode = (string)jObject&#91;&quot;statuscode&quot;&#93;;<br /></code></dd></dl><br />There are case errors here. It should read p.rawdata, p.category, p.request, p.statuscode, all lower case.<br /><br />2. ListenerLoop()<br />Variable json is never defined. It's unclear where this is coming from.<br /><br />3. ListenerLoop()<br /><dl class="codebox"><dt>Code: </dt><dd><code>isRunning = true;</code></dd></dl> should read <dl class="codebox"><dt>Code: </dt><dd><code>bool isRunning = true;</code></dd></dl><br /><br />4. ListenerLoop()<br /><dl class="codebox"><dt>Code: </dt><dd><code>Console.Out.WriteLine(&quot;Error while reading response: &quot; + ex.Message;</code></dd></dl><br />You are missing closing parentheses. It should read:<br /><dl class="codebox"><dt>Code: </dt><dd><code>Console.Out.WriteLine(&quot;Error while reading response: &quot; + ex.Message);</code></dd></dl><br /><br />Doug Girard<br />Nirodha Software<p>Statistics: Posted by <a href="http://theeyetribe.com/forum/memberlist.php?mode=viewprofile&amp;u=7593">skataDougNS</a> — 11 Mar 2015, 12:22</p><hr />
]]></content>
</entry>
</feed>