Fuck I have to write a simple HTTP server in C
@matrix I've practically done it in my sleep
Maybe it's hard if you need to do it for windows, otherwise you basically just copy paste the man page example from bind(2) and then just glue plain text HTTP headers together. It's not hard
https://man7.org/linux/man-pages/man2/bind.2.html
@matrix Note it's talking about AF_UNIX and not AF_INET, that's here I think, but largely interchangeable for this if I rememberhttps://man7.org/linux/man-pages/man3/getaddrinfo.3.html
@applejack It's supposed to run on Linux.Lol, that's a nice hacky solution Yeah, seems not that difficult now
Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.
@matrix Note it's talking about AF_UNIX and not AF_INET, that's here I think, but largely interchangeable for this if I remember
https://man7.org/linux/man-pages/man3/getaddrinfo.3.html