Sorry for double message, but i only noticed this as i clicked sent: Try increasing the channel at which you send the message, up to 254, and then back to 0 (255 is reserved), that may improve your performance.<br><br><div class="gmail_quote">
On Mon, May 4, 2009 at 2:58 PM, Nuno Silva <span dir="ltr">&lt;<a href="mailto:little.coding.fox@gmail.com">little.coding.fox@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;">
It depends a lot on the message size, for instance. Make sure your packets are not too big.<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Mon, May 4, 2009 at 2:14 PM, Jonathan Hodgkinson <span dir="ltr">&lt;<a href="mailto:jonathan.hodgkinson@gmail.com" target="_blank">jonathan.hodgkinson@gmail.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">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></div></div>_______________________________________________<br>
ENet-discuss mailing list<br>
<a href="mailto:ENet-discuss@cubik.org" target="_blank">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>
</blockquote></div><br>