enet icon indicating copy to clipboard operation
enet copied to clipboard

How can a client know its data has sent successfully

Open tethys0221 opened this issue 6 years ago • 1 comments

After use enet_peer_send and flush, how can a client know its data has arrived at server successfully?(the protocal itself is reliable but server may crush after connection) Or should I manage it myself by sending response on receive.

tethys0221 avatar Oct 24 '19 10:10 tethys0221

Use the packet's freeCallback.

On Thu, Oct 24, 2019 at 6:01 AM tethys0221 [email protected] wrote:

After use enet_peer_send and flush, how can a client know its data has arrived at server successfully?(the protocal itself is reliable but server may crush after connection) Or should I manage it myself by sending response on receive.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lsalzman/enet/issues/115?email_source=notifications&email_token=AALDVUKSD7TXOYR2QBA7CKDQQFXARA5CNFSM4JERXHV2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HUCB62Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALDVUMVRUMKSITY4RGZRCLQQFXARANCNFSM4JERXHVQ .

lsalzman avatar Oct 24 '19 14:10 lsalzman