Update main.c

This commit is contained in:
Tahinli 2022-11-06 03:02:42 +03:00 committed by GitHub
parent 4e42b27572
commit f105fac6d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,8 +14,8 @@
#pragma comment(lib, "Ws_32.lib") #pragma comment(lib, "Ws_32.lib")
#define BUFLEN 512 #define BUFLEN 512
#define PORT 27015 #define PORT YOUR PORT(INT)
#define ADDRESS "93.190.8.248" #define ADDRESS "YOUR-SERVER-IP"(STRING)
#define MAX_CLIENTS 5 #define MAX_CLIENTS 5
@ -47,7 +47,7 @@ int mte(char*);
char lastName[20]; char lastName[20];
char arName[MAX_CLIENTS][20]; char arName[MAX_CLIENTS][20];
char dName[MAX_CLIENTS*5][20]; char dName[MAX_CLIENTS*5][20];
char pass[]="mandalina"; char pass[]="superstrongpass";
char gpass[20]; char gpass[20];
int arPas[MAX_CLIENTS]; int arPas[MAX_CLIENTS];
@ -462,4 +462,4 @@ int mte(char* message)
} }
} }
return 0; return 0;
} }