<div>Hey guys!</div>
<div>&nbsp;</div>
<div>Here&#39;s what I&#39;m attempting to do: I&#39;m creating a new game with networking capabilities and I&#39;ve chosen Enet for the net API. I&#39;m currently implementing the very basics, connecting, disconnecting, etc.
</div>
<div>To test it I&#39;m opening one client that listens on <a href="http://127.0.0.1">127.0.0.1</a> with port 50,000, and another client (simply a 2nd window) that listens on <a href="http://127.0.0.1">127.0.0.1</a> and port 50,001. The problem is that when the 2nd window
</div>
<div>tries to connect to the 1st one, I receive no CONNECTED event for the 2nd window. I use the tutorial code pretty much 1:1...</div>
<div>&nbsp;</div>
<div><font color="#0000ff" size="2">
<p>if</p></font><font size="2"> (enet_host_service (mHost, &amp;event, 5000) &gt; 0 &amp;&amp; event.type == ENET_EVENT_TYPE_CONNECT)
<p>{</p>
<p>Ogre::LogManager::getSingleton().logMessage(&quot;Connected to the IP specified!&quot;);</p>
<p>}</p>
<p></p></font><font color="#0000ff" size="2">else</font><font size="2">
<p>{</p>
<p></p></font><font color="#008000" size="2">/* Either the 5 seconds are up or a disconnect event was */</font><font size="2">
<p></p></font><font color="#008000" size="2">/* received. Reset the peer in the event the 5 seconds */</font><font size="2">
<p></p></font><font color="#008000" size="2">/* had run out without any significant event. */</font><font size="2">
<p>enet_peer_reset (peer);</p>
<p>Ogre::LogManager::getSingleton().logMessage(&quot;Could not connect to the IP specified!&quot;);</p>
<p>}</p>
<p>Any ideas?</p></font></div>