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: [email protected] [mailto:[email protected]] 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...@bs <[email protected]> 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 [email protected] http://lists.cubik.org/mailman/listinfo/enet-discuss
_______________________________________________ ENet-discuss mailing list [email protected] http://lists.cubik.org/mailman/listinfo/enet-discuss
