21 lines
753 B
Markdown
21 lines
753 B
Markdown
# meownet 😺
|
|
an awesome web server that meows at you
|
|
|
|
## okay some more detail
|
|
i originally built this in c using `winsock2`. why? because i wanted to learn sockets! and my windows machine was the closest subject at the time. now this runs the regular linux socket API by default (i left the old windows-specific code in `src/windows.c` if you want to use that!)
|
|
|
|
**Q:** is it very good? **A:** no! but i had fun making it, so idrc
|
|
|
|
a fun little foire into getting even more familiar with how web services work. how fun!!
|
|
|
|
### building
|
|
oh yeah you can compile this with `gcc` and a little
|
|
```sh
|
|
# linux/macos (untested on macos)
|
|
gcc -o ./meow ./src/main.c
|
|
```
|
|
```powershell
|
|
# windows
|
|
gcc -o ./meow.exe ./src/windows.c -lws2_32
|
|
```
|