-
Notifications
You must be signed in to change notification settings - Fork 70
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
Winsock implementation #453
Comments
I would like this as well as I would like to use enet (fork from https://github.com/cgutman/enet/tree/moonlight) in a project I'm attempting. I had a look at your previous attempt, but for now it's a bit above my head to get to a working state. I was wondering if it might be easier to compile enet as |
The use of Aside from that, the UNIX and WIN32 code-path should only differ slightly. Typically WIN32 networking only adds winsock specific init and cleanup and some utility functions related to timing or buffer allocations - all of which nxdk probably already supports. I don't remember, but my winsock implementation probably also merely stubs the init/cleanup and hooks up the Winsock BSD-style socket API to the lwip BSD-style socket interface. |
(I'm very sure we discussed this in the past, but I'm unable to find anything when searching for "winsock" on this repository; please close if I missed an existing issue)
I had started a rather dummy ws2_32.lib implementation about a year ago and I believe @thrimbor had also worked on something in that direction?
A real implementation would be nice, but a partially working dummy is also fine with me, just to get the ball rolling.
Specifically, my winsock was exclusively meant for enet, and it can be found here: JayFoxRox#84.
At the time of writing, the latest version is in JayFoxRox@f3dd888.
I don't think I ever really tested it, so it's probably non-functional.
It would be nice if someone could find a suitable implementation or clean up the mess from my commit.
Consider my code in that commit to be in public domain (feel free to steal code or relicense as whatever).
More formally: I also license that code under CC0.
The text was updated successfully, but these errors were encountered: