FarmFighter/server/server.cpp

16 lines
316 B
C++
Raw Normal View History

2024-08-29 22:27:01 -06:00
#include <stdio.h>
2024-08-30 11:48:34 -06:00
#define ENET_IMPLEMENTATION
#include <enet.h>
2024-08-29 22:27:01 -06:00
int main() {
printf("Server starting...\n");
2024-08-30 11:48:34 -06:00
if (enet_initialize() != 0) {
printf("Error init enet\n");
return EXIT_FAILURE;
}
2024-08-29 22:27:01 -06:00
printf("Press any key to exit...\n");
scanf_s("0");
2024-08-30 11:48:34 -06:00
return EXIT_SUCCESS;
2024-08-29 22:27:01 -06:00
}