Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hello'n'stuff! Just thought I'd come back and say that I fixed my problem by myself since it drives me nuts when people are all like "Fixed it!" on forums and never say how. Anyway, to recap: I wanted to do networking in C but couldn't get any of the libraries I could find to "work" properly, and I didn't want to use straight Winsocks. So, I found https://github.com/uhub/awesome-c , which lead me to https://github.com/rxi/dyad . Spoiler alert, the entire project's source consists of precisely two files.
- It worked for me out of the box. Note that without any changes to the source code, you have to do #include <dyad.c>, not dyad.h. Anyway, all good now! It does depend on Winsocks, but it worked totally fine for me using the same setup I had for ENet! I presume that library's broken at the moment, but this is even simpler than ENet is, so there.
- No fancy-shmancy features; this is probably as close as I'll get to a library that does literally nothing but sends strings over a network. I'm happy!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement