summaryrefslogtreecommitdiff
path: root/server/src/mini-rat.c
blob: e0fd5d1576c310cf20c4cdb9532cfd23f4980ba5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <logging.h>
#include <server.h>
#include <mini-rat.h>

int main(int argc, char* argv[]) {
        FILE *logfile = fopen("log.txt", "w");
        init_logging(stderr);
        uint16_t port = 21115;
        pthread_t listen_thread;
        pthread_create(&listen_thread, NULL, listener, (void*)&port);

        pthread_exit(NULL);
}