Forum Discussion
Altera_Forum
Honored Contributor
17 years agoI've modified simple socket server to be UDP instead TCP server.
I've tried to set the destination IP addres by usingUDP_sender.sin_family = AF_INET;
UDP_sender.sin_port = htons(30);
inet_atom ("192.168.10.10", UDP_sender.sin_addr); or using UDP_sender.sin_family = AF_INET;
UDP_sender.sin_port = htons(30);
IP4_ADDR (UDP_sender.sin_addr.s_addr,192,168,10,10); both possibilities were working in EDS 7.2 but doesn't in EDS 8.0 When running both attempts, compiler is failing because 'IP4_ADDR' or 'inet_atom' are undefined references.