16 lines
316 B
C++
16 lines
316 B
C++
#include <stdio.h>
|
|
#define ENET_IMPLEMENTATION
|
|
#include <enet.h>
|
|
|
|
int main() {
|
|
printf("Server starting...\n");
|
|
if (enet_initialize() != 0) {
|
|
printf("Error init enet\n");
|
|
return EXIT_FAILURE;
|
|
}
|
|
|
|
printf("Press any key to exit...\n");
|
|
scanf_s("0");
|
|
|
|
return EXIT_SUCCESS;
|
|
} |