SuPete
My question is if WinSock is the only alternative in C for Windows?
Well, it's the "only alternative" in some sense but keep in mind that the WinSock API actually has lots of ways of doing the same thing, so you can use blocking send/recv, non-blocking send/recv, window message notification, IO completion ports, etc., etc. So there's actually lots of ways you can program it even if you're just talking about WinSock.
If we were to implement networking in Handmade Hero, it would definitely be what we would use, and I'm guessing we would probably use non-blocking send/recv if we could get away with it because that is cross-platform and would save time on porting.
- Casey