- else if (strcmp(argv[ii]+2, "server") == 0)
- {
- if (client == true)
- {
- fprintf(stderr, "ARGUMENT_ERROR - Can't be both a server and a client!\n");
- exit(EXIT_FAILURE);
- }
- server = true;
-
- }
- else if (strcmp(argv[ii]+2, "client") == 0)
- {
- if (server == true)
- {
- fprintf(stderr, "ARGUMENT_ERROR - Can't be both a server and a client!\n");
- exit(EXIT_FAILURE);
- }
- client = true;
-
- }