Feature: Now server ports and IP are parsed using args.

This commit is contained in:
Afonso Clerigo Mendes de Sousa 2025-10-22 03:19:00 +01:00
parent 64a81b7760
commit 3e96227be7
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -209,7 +209,7 @@ int main(int argc, char *argv[]) {
return EXIT_FAILURE;
}
int SERVER_OUT_IP = atoi(argv[1]);
char *SERVER_OUT_IP = argv[1];
int SERVER_IN_PORT = atoi(argv[2]);
int SERVER_OUT_PORT = atoi(argv[3]);