ruchirsharma1993 / Chat-application-in-c-using-Socket-programming

Client Server user level application, can be used to communicate between two connected systems.
22 stars 21 forks source link

inet_pton error #1

Open canyuva opened 6 years ago

canyuva commented 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); ^~~~~

khasanovdiyor commented 2 years ago

include<arpa/inet.h>

add this header to client.c