udp-send.c: In function ‘int main()’: udp-send.c:26:17: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] char *server = "xxx.xx.xx.xx"; /* change this to use a different server */ ^ udp-send.c:53:41: error: ‘inet_aton’ was not declared in this scope if (inet_aton(server, &remaddr.sin_addr)==0) { ^ udp-send.c:66:10: error: ‘close’ was not declared in this scope close(fd); ^
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)