It depends a lot on the message size, for instance. Make sure your packets are not too big.<br><br><div class="gmail_quote">On Mon, May 4, 2009 at 2:14 PM, Jonathan Hodgkinson <span dir="ltr">&lt;<a href="mailto:jonathan.hodgkinson@gmail.com">jonathan.hodgkinson@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi, <br><br>I&#39;m attempting to create a FPS game on the iPhone and Im using Enet for the networking, however Im having problems with packets not being sent through fast enough.      <br>
<br>Im using the following to create a packet:<br>
<br> ENetPacket* packet = enet_packet_create(message, [allPackets[p].message length]+1, ENET_PACKET_FLAG_UNSEQUENCED );<br> enet_peer_send(sPeer, 0, packet);<br><br>The server I have running basically acts as a dumb terminal just sending back out whatever it receives in. Im only running this locally so I expected to get at least 30 packets a second but Im only getting about 10 a second. <br>

<br>Is this typical of enet, or should be able to get alot better performance out of it?<br><br>Thanks <br>Jon<br>
<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" target="_blank">http://lists.cubik.org/mailman/listinfo/enet-discuss</a><br>
<br></blockquote></div><br>