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

Does ENet application compatible with another application written by original UDP? #206

Open
xpbigapple02 opened this issue Aug 5, 2022 · 1 comment

Comments

@xpbigapple02
Copy link

I have been read some docs about ENet, ENet don't integrate TCP and UDP, It uniform protocol layered over UDP to the developer with the best features of UDP and TCP as well as some useful features neither provide. I have little confused:

Does Enet have special self-custom data struct in application layer protocal, or does it do these under application layer, so user will be used in transparent mode?

Two application written by ENet using reliable udp (server,client) should be work fine, but is it fine as change one to original UDP?

I just need a usable reliable UDP library can working with another UDP server or client, may be they have reliable or none reliable(original UDP), ENet suitable?

@xpbigapple02 xpbigapple02 changed the title Does ENet compatible with another application written by original UDP? Does ENet application compatible with another application written by original UDP? Aug 5, 2022
@dimage1
Copy link

dimage1 commented Mar 20, 2024

Hi, you need to use the same protocol on both communication sides. ENet works above UDP, adding extra rules, data structures and logic to support reliability, channels, security, etc.

If you want another UDP based protocol, please look at QUIC, which is now rfc9000 and is used by modern browsers as HTTP3 transport.

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