renehsz / odin-sock

Low-level bindings to BSD-style sockets for the Odin programming language that should likely be in the standard library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows support

renehsz opened this issue · comments

Currently windows does not work. However Winsock is very much like Berkeley Sockets, there are just a few differences.

Currently making bindings for Winsock2, it's a lot more than the Berkeley sockets stuff

I'll PR the bindings to core:win32 at some point

Then it would be easy to take these Berkeley sockets bindings, the Winsock stuff, and make some sort of core:net/sockets

Sounds great.
I've updated this library to work with the newest released version of Odin.
By the way, I don't know if this library is even nearly complete (in fact it's probably not, but I don't currently have time to check).