[ENet-discuss] large data on LAN

Lee Salzman lsalzman at gmail.com
Thu Jul 11 08:55:00 PDT 2013


Could it simply be that enet_host_service() is not being called fast enough to drain all queued events as fast as they are coming in?

On 07/11/2013 06:26 PM, Stefan Lundmark wrote:
> We tested sending large amounts of data without splitting it up and it takes nowhere around the amount of time you specify.
>
> /Stefan
>
> On 2013-07-11 17:05, Lung Yang wrote:
>> Hi Ruud,
>>
>> I am sending 40 image files in a single call to "enet_peer_send", which the receiver takes a long time to receive the data.  I also tested sending individual image on multiple call.  Some are still arriving too late at the destination.  From my understanding, ENet will handle large data internally and send it as multiple network packets.  Will splitting the image data further more and send them on multiple calls be the proper way to handle this problem?
>>
>> Lung
>>
>>
>> On 7/11/2013 3:36 AM, Ruud van Gaal wrote:
>>> ENet is focused more on small data (game communication for example), not really big files or such.
>>> Are you splitting the 7Mb up in some kind of file transfer protocol yourself?
>>>
>>> Ruud
>>>
>>>
>>> On Wed, Jul 10, 2013 at 11:40 PM, Lung Yang <l.yang at trio-tech.com <mailto:l.yang at trio-tech.com>> wrote:
>>>
>>>     Hi, I am using enet library to send large data (about 7 mb)  to a peer in a local area network.  However, I notice that there is a considerable delay of about 16 seconds before the peer receive the data.  (The same thing happened using the localhost address)  I would like to know if there is any way we can speed up the transfer rate.
>>>
>>>
>>>     Thank you.
>>>     Lung
>>>     _______________________________________________
>>>     ENet-discuss mailing list
>>>     ENet-discuss at cubik.org <mailto:ENet-discuss at cubik.org>
>>>     http://lists.cubik.org/mailman/listinfo/enet-discuss
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> ENet-discuss mailing list
>>> ENet-discuss at cubik.org
>>> http://lists.cubik.org/mailman/listinfo/enet-discuss
>>
>>
>>
>> _______________________________________________
>> ENet-discuss mailing list
>> ENet-discuss at cubik.org
>> http://lists.cubik.org/mailman/listinfo/enet-discuss
>
>
>
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss



More information about the ENet-discuss mailing list