This commit is contained in:
Nishi 2025-12-20 12:11:57 +09:00
commit 8e82909923
Signed by: nishi
GPG key ID: 27EF69B208EB9343
9 changed files with 180 additions and 19 deletions

View file

@ -1,10 +1,9 @@
#include <af_common.h>
int main(int argc, char** argv) {
fishsoup_server_t* server;
int port = 0;
int port = 0;
server = fishsoup_server(port == 0 ? AF_DEFAULT_PORT : port);
net_start(port);
fishsoup_server_loop(server);
net_loop();
}