News for hackers. Stuff that matters.
Re:Beej's Guide to Network Programming (1994-2020) by kebman on Thursday February 11, 2021 @06:05AM (#26100268)
“Some of you might want to do things the Pure Windows Way. That’s very gutsy of you, and this is what you have to do: run out and get Unix immediately!”

He's just joking of course. At first glance this seems like a great read. And he's funny too! :)

I do wonder how much of this is applicable to Rust though.

Re:Beej's Guide to Network Programming (1994-2020) by hoseja on Thursday February 11, 2021 @06:57AM (#26100573)
Sadly the Windows asynchronous (or something, I never quite got it) networking API seems very powerful. But I never found a comprehensible manual/tutorial for it.
Re:Beej's Guide to Network Programming (1994-2020) by whizzter on Thursday February 11, 2021 @08:01AM (#26100999)
Dr.Dobbs has had at least 2 articles on it.

https://www.drdobbs.com/open-source/io-multiplexing-scalable... (Also covers select and /dev/poll but lacks epoll,kqueue)

https://www.drdobbs.com/cpp/multithreaded-asynchronous-io-io...

I remember chatting in the fringes when nodeJS was doing their proper win32 porting and they did have some issues getting things stable due to lack of documentation but iirc got some help from MS so the libuv code should be usable as a reference for behaviours (As well as being fairly battle tested by now).

https://github.com/libuv/libuv/tree/v1.x/src/win

Re:Beej's Guide to Network Programming (1994-2020) by the_only_law on Thursday February 11, 2021 @02:46PM (#26106171)
I’ve been trying to figure out the entire windows networking stack recently, particularly some more obscure parts and the docs have been pretty bad unfortunately. A lot of the higher level stuff fees really superficial and the lower level stuff it’s it own mess (all sorts of broken links and links to outdated versions in the NDIS docs).
Re:Beej's Guide to Network Programming (1994-2020) by kruxigt on Thursday February 11, 2021 @06:13AM (#26100314)
"At first glance this seems like a great read" Agree!