[ENet-discuss] Problem with fragmentation and reassembly of bigenet packets
Ruud van Gaal
ruud at racer.nl
Wed Apr 28 14:57:00 PDT 2010
Especially with packets >2Kb, as UDP only allows packets upto around 1,5Kb.
After that, Enet starts splitting them up and rejoining them at the client
(receiving) end, so it's important to keep calling enet_host_service().
_____
Van: enet-discuss-bounces at cubik.org [mailto:enet-discuss-bounces at cubik.org]
Namens Nuno Silva
Verzonden: Wednesday, April 28, 2010 20:15
Aan: Discussion of the ENet library
Onderwerp: Re: [ENet-discuss] Problem with fragmentation and reassembly of
bigenet packets
Even if Client-Only you should call enet_host_service, since it takes care
of transferring packets back and forth. Check if that helps.
On Wed, Apr 28, 2010 at 5:06 PM, RAULO-KUMAGAI Emmanuel IT&L at bs
<emmanuel.raulo at orange-ftgroup.com> wrote:
Hello,
I'm experiencing problems with receiving big packets over enet.
At the sending side, I'm using a "client only" host (e.g.
enet_host_service() is never called for that host, except when connecting to
receiving peer).
The same code works just fine with small packets but, as soon as those get a
little bigger than 2 kilobytes, I'm not receiving packets on the other side:
at 3KB I'm receiving some packets then nothing, at 40KB packets are never
received.
Packets are created with the flag ENET_PACKET_FLAG_RELIABLE.
I'm experiencing this issue under Windows XP SP3, with either the two
applications running on the same machine or 2 separate machines on a gigabit
LAN.
Am I overlooking something or is this a bug?
Support would be greatly appreciated.
--
Emmanuel
_______________________________________________
ENet-discuss mailing list
ENet-discuss at cubik.org
http://lists.cubik.org/mailman/listinfo/enet-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20100428/3f732412/attachment.html>
More information about the ENet-discuss
mailing list