[ENet-discuss] ENet-discuss Digest, Vol 146, Issue 1

Ruud van Gaal ruud at racer.nl
Fri Feb 12 04:34:27 PST 2016


If you do this:

- peer1: send data packet with ID x, adds 'x' to a list of unacknowledged
packets
- peer2: receives data packet x, sends back packet 'ACK<x>' to peer1.
- peer1: As soon as ACK<x> arrives, clears that ID in the list of
unacknowledges packets.
- peer1: based on the same list, resend packets that have not been ACK'ed
yet and are >t old. Keeps a counter of how many resends have been done.

The main problem should be the ordering of data packets on the other side.

Ruud


On Fri, Feb 12, 2016 at 12:15 PM, Elshad Mustafayev <elshad at goubiq.com>
wrote:

> But how can I do that? Does enet let me know what packets are lost? And is
> there an easy api that would let me ask for retransmission of the lost
> packet?
>
> Or how easy is it to change enet's source so that we can specify maximum
> retransmission trial for reliable packets?
>
> Thanks.
>
> On Fri, Feb 12, 2016 at 12:00 AM, <enet-discuss-request at cubik.org> wrote:
>
>> Send ENet-discuss mailing list submissions to
>>         enet-discuss at cubik.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         http://lists.cubik.org/mailman/listinfo/enet-discuss
>> or, via email, send a message with subject or body 'help' to
>>         enet-discuss-request at cubik.org
>>
>> You can reach the person managing the list at
>>         enet-discuss-owner at cubik.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of ENet-discuss digest..."
>>
>>
>> Today's Topics:
>>
>>    1.  Partial Reliability (Elshad Mustafayev)
>>    2. Re:  Partial Reliability (Lee Salzman)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Thu, 11 Feb 2016 15:49:04 +0400
>> From: Elshad Mustafayev <elshad at goubiq.com>
>> To: enet-discuss at cubik.org
>> Subject: [ENet-discuss] Partial Reliability
>> Message-ID:
>>         <
>> CAKR9mN83nvD3UHFtsHeku1d-kFDLbP2k2xvUyB3uoY2HFa+rMA at mail.gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hello,
>>
>> We want to use enet for our project for its udp reliability. However, we
>> are looking for partial reliability feature. In other words, instead of
>> retransmitting the packet until it is received by the peer, attempt some
>> number of retransmissions bounded by some maximum number and if it is
>> still
>> not received just ignore and continue. Is this feature available in enet?
>> If not how can we change the source to get this feature?
>>
>> Thanks.
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://lists.cubik.org/pipermail/enet-discuss/attachments/20160211/7c304832/attachment-0001.html
>> >
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Thu, 11 Feb 2016 10:32:51 -0500
>> From: Lee Salzman <lsalzman at gmail.com>
>> To: Discussion of the ENet library <enet-discuss at cubik.org>
>> Subject: Re: [ENet-discuss] Partial Reliability
>> Message-ID:
>>         <
>> CAPk1TVHd6vUUStsEtf0XU3fheiCpXRxP-ezJodKCbg+qNQCyqw at mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>> Just use a normal unreliable packet and do your own retransmits/acks
>> above that, as that stuff becomes a bit too application specific that
>> enet does not provide it.
>>
>> On Thu, Feb 11, 2016 at 6:49 AM, Elshad Mustafayev <elshad at goubiq.com>
>> wrote:
>> > Hello,
>> >
>> > We want to use enet for our project for its udp reliability. However,
>> we are
>> > looking for partial reliability feature. In other words, instead of
>> > retransmitting the packet until it is received by the peer, attempt some
>> > number of retransmissions bounded by some maximum number and if it is
>> still
>> > not received just ignore and continue. Is this feature available in
>> enet? If
>> > not how can we change the source to get this feature?
>> >
>> > Thanks.
>> >
>> > _______________________________________________
>> > ENet-discuss mailing list
>> > ENet-discuss at cubik.org
>> > http://lists.cubik.org/mailman/listinfo/enet-discuss
>> >
>>
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> ENet-discuss mailing list
>> ENet-discuss at cubik.org
>> http://lists.cubik.org/mailman/listinfo/enet-discuss
>>
>>
>> ------------------------------
>>
>> End of ENet-discuss Digest, Vol 146, Issue 1
>> ********************************************
>>
>
>
> _______________________________________________
> 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/20160212/a6f2d0f7/attachment.html>


More information about the ENet-discuss mailing list