Open canyuva opened 6 years ago
client.c:46:11: warning: implicit declaration of function ‘inet_pton’ [-Wimplicit-function-declaration] int in = inet_pton(AF_INET, argv[1], &server.sin_addr); ^~~~~
add this header to client.c
client.c:46:11: warning: implicit declaration of function ‘inet_pton’ [-Wimplicit-function-declaration] int in = inet_pton(AF_INET, argv[1], &server.sin_addr); ^
~~~~