-
Notifications
You must be signed in to change notification settings - Fork 2
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
TCP/UDP library bindings? #5
Comments
Which library are you thinking of? All the basic networking functions are already implemented via linux syscalls. |
maybe this? https://github.com/starwing/znet |
That would be a way to do it. The only problem is that this library is not installed on linux systems by default (maybe precompile?). I'd rather use the builtin library from glibc/musl, but they use structs with bitfields, which CSpydr doesn't support. |
i think i might attempt to use that library in cspydr (i assume i do [link("the compiled library here")] right? ) |
yes, exactly. But that could lead to errors when the path is not correct, try using absolute paths or install the libraray in /usr/lib. |
So, how‘s it going? Any news? |
Closing this because of lack of activity. Reopen when any progress is made. |
hey Spydr, i have started working on them at here |
the "binding" stuff is in the namespace internal, and the stuff the developer is gonna use is outside it |
That's good, that's also how I do it since CSpydr lacks private functions |
ah, yeah; the test will be updated soon! also, i plan on either making a minecraft server (using the tcp stuff) or something else |
it would be fun!
The text was updated successfully, but these errors were encountered: