[ENet-discuss] timeout for attempting to send a reliable message

Yan Luo yanluo.uml at gmail.com
Fri Feb 10 08:13:59 PST 2012


Hello,

Is there a way to specify the attempt timeout for sending reliable
message? Here is the scenario:

* message A needs to be sent reliably to host X.
* message A is sent by enet and the attempt continues until an ACK is
received from the destination node (that is what I understand how enet
would behave).
* However, in my application, message A becomes stale (or even
harmful) if it is in the sending host for over N milliseconds: there
is no need to keep sending it any more.

How should I implement such a scenario?

Thanks in advance for the help.

Yan


More information about the ENet-discuss mailing list