Winsock implementation

Open
#453 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
c
Domain
networking

Research direction

The issue points to JayFoxRox’s nxdk pull request #84 and commit f3dd888 as starting material for a Winsock implementation intended for enet. Read those references first and check whether the code can be tested; the issue says it was probably nonfunctional. Done means providing a suitable implementation or cleaning up the existing code into a working partial or complete Winsock implementation.

Written by the indexing model from the issue text.

Description

(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: https://github.com/JayFoxRox/nxdk/pull/84.
At the time of writing, the latest version is in https://github.com/JayFoxRox/nxdk/commit/f3dd88898180e6e59d6f42956c346615e335208e.
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.

Dominant language
C
Stars
600
Forks
97
Avg merge
11h 48m
Merged PRs (30d)
2

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from XboxDev/nxdk

All issues in XboxDev/nxdk

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.