assaultfish/server/main.c

13 lines
157 B
C
Raw Normal View History

2025-12-19 02:38:21 +09:00
#include <af_common.h>
2025-12-20 13:27:44 +09:00
#include <signal.h>
2025-12-19 03:10:03 +09:00
int main(int argc, char** argv) {
2025-12-20 12:11:57 +09:00
int port = 0;
2025-12-20 11:06:31 +09:00
2025-12-20 13:27:44 +09:00
signal(SIGPIPE, SIG_IGN);
2025-12-20 12:11:57 +09:00
net_start(port);
2025-12-20 11:06:31 +09:00
2025-12-20 12:11:57 +09:00
net_loop();
2025-12-19 00:58:41 +09:00
}