<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>I dont think i know what you mean? Do you mean move the packet sending somewhere else in the program because i think you need that in the while loop. Do you need the servicing on both client and server? </p>
<p> </p>
<p>On 2013-10-21 23:21, Nuno Silva wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">One thing I noticed that might have something to do with it is how you block your client programs to get a message to send to the server, maybe you should do the ENet code in another thread to prevent ENet from doing its host servicing while waiting for a message.</div>
<div class="gmail_extra"><br /><br />
<div class="gmail_quote">On Mon, Oct 21, 2013 at 11:05 PM, <span><<a href="mailto:stuart@semag.juplo.com">stuart@semag.juplo.com</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0  0  0  .8ex; border-left: 1px  #ccc  solid; padding-left: 1ex;"><span style="text-decoration: underline;"></span>
<div>
<p><span style="font-size: small; font-family: arial;">My Enet code dose not seem to be able to work correctly. I am new to enet and i would prefer this over a high level networking lib. On my pc it works how it should but when a client tries to connect to the server it connects but if another one connects they both get disconnected there is more information at <a href="http://www.ogre3d.org/forums/viewtopic.php?f=1&t=79188">http://www.ogre3d.org/forums/viewtopic.php?f=1&t=79188</a> if you want to look there. If any of you do have client and server code that you know works outside of lan i would like to see it so i can compare it and try it.<br /></span></p>
<p><span style="font-size: small; font-family: arial;"><span style="font-size: small;"> Thanks</span></span></p>
<div> </div>
</div>
<br />_______________________________________________<br /> ENet-discuss mailing list<br /><a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a><br /><a href="http://lists.cubik.org/mailman/listinfo/enet-discuss">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br /><br /></blockquote>
</div>
</div>
<br />
<pre>_______________________________________________
ENet-discuss mailing list
<a href="mailto:ENet-discuss@cubik.org">ENet-discuss@cubik.org</a>
<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss">http://lists.cubik.org/mailman/listinfo/enet-discuss</a>
</pre>
</blockquote>
<p> </p>
<div> </div>
</body></html>