Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account for Packet Loss in One-Off Mode #54

Open
victorstewart opened this issue Aug 3, 2017 · 1 comment
Open

Account for Packet Loss in One-Off Mode #54

victorstewart opened this issue Aug 3, 2017 · 1 comment

Comments

@victorstewart
Copy link

Right now if you use NetAssociation in one-off mode, and the UDP packet gets lost and never arrives... the delegate method would never be called.

Maybe there should be some timeout, and success/failure reporting?

Block-based would also be heavenly :)

@gavineadie
Copy link
Collaborator

Dilemma! While it would be nice to report the lack of response, it's not a "failure" for UDP packets to get lost. Should a check for a response be inside NetAssociation or should it be in the code that's using it? I think it should be inside NetAssociation .. I'd be happy to accept any enhancements.

Block based would be nice, I agree.

I've not looked for recent changes in the UDP parts of the IP library I use .. maybe they've made improvements .. things are changing in Apple's TCP stack, I don't know if UDP is getting the same attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants