add client testing
This commit is contained in:
@@ -1,17 +1,14 @@
|
||||
#include "main.h"
|
||||
#include "colors.h"
|
||||
#include "server.h"
|
||||
#include "utils.h"
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
fprintf(stdout, BOLD GREEN "Running cws...\n" RESET);
|
||||
fprintf(stdout, BOLD GREEN "[server] Running cws...\n" RESET);
|
||||
|
||||
int ret = start_server();
|
||||
int ret = start_server(NULL, "3030");
|
||||
if (ret < 0) {
|
||||
fprintf(stderr, BOLD RED "Unable to start web server\n");
|
||||
}
|
||||
|
||||
print_ips("google.com", "80");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user