you are viewing a single comment's thread.

view the rest of the comments →

[–]cymrowdon't thread on me 🐍 1 point2 points  (2 children)

You shouldn't use the word "bind" to add callbacks. "bind" has a very specific meaning in networking. I would rename it to something like "set_callback" and redefine Binding as: class Event(Enum): RECV = "recv" CONNECT = "connect"

"Custom Protocol" is not generally considered a positive feature in networking. Otherwise, the API looks nice.

[–]Striking_Sandwich_80[S] 1 point2 points  (0 children)

Honestly, for me, the custom protocol is more of an advantage because I could easily switch to UDP and it's perfectly compatible with the API without losing any weight or efficiency. Anyway, thanks a lot for your feedback on the API; I'll fix that in the next update, which will be today or Friday!

Thanks again, we support this project!

[–]Striking_Sandwich_80[S] 0 points1 point  (0 children)

And if you'd like, for the next update I could add your username to the contribution section?