[ENet-discuss] Enet Header size
Peter Soxberger
Peter.Soxberger at gmx.net
Wed Jan 7 11:59:33 PST 2009
Ok does this mean that ENet collects the small packets and send it as one big packet for saving overhead?
I worried that this isn't implented because I use a lot of packets with small data in them and this would produce a lot of unnecessary overhead.
-------- Original-Nachricht --------
> Datum: Wed, 07 Jan 2009 19:18:15 -0800
> Von: Lee Salzman <lsalzman1 at cox.net>
> An: Discussion of the ENet library <enet-discuss at cubik.org>
> Betreff: Re: [ENet-discuss] Enet Header size
> The size of a header for an individual user packet WITHIN a protocol
> packet is about 6-8 bytes. Each protocol packet (which groups as many
> user packets as it can up to the MTU) has a header size of 8 bytes.
>
> Lee
>
> Peter Soxberger wrote:
> > Hi!
> >
> > I'm currently improving my code that calculates the actual transferrate.
> Does anybody of you know, how much overhead I produce if I send a single
> packet? I know that there is the UDP Header which is 8 Byte big. But how
> much is used by ENet?
> >
> > If I calculate the real size of a packet, is this correct:
> >
> > [UDP Header]+[ENet Headers]+[packet->dataLength] = Packet Size
> >
> > Thanks for your help!
> >
>
> _______________________________________________
> ENet-discuss mailing list
> ENet-discuss at cubik.org
> http://lists.cubik.org/mailman/listinfo/enet-discuss
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
More information about the ENet-discuss
mailing list