<p><a href="https://github.com/jheretic" class="user-mention">@jheretic</a> just wanted to get your review on this before pushing</p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/opentechinstitute/commotiond socket-events</pre>
<p>Or view, comment on, or merge it at:</p>
<p>  <a href='https://github.com/opentechinstitute/commotiond/pull/60'>https://github.com/opentechinstitute/commotiond/pull/60</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>added events flags to socket object, set events.data.ptr to socket obj</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/commotiond/pull/60/files#diff-0">src/loop.c</a>
    (39)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/commotiond/pull/60/files#diff-1">src/socket.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/commotiond/pull/60/files#diff-2">src/socket.h</a>
    (1)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/opentechinstitute/commotiond/pull/60.patch'>https://github.com/opentechinstitute/commotiond/pull/60.patch</a></li>
  <li><a href='https://github.com/opentechinstitute/commotiond/pull/60.diff'>https://github.com/opentechinstitute/commotiond/pull/60.diff</a></li>
</ul>