Forum Discussion
Altera_Forum
Honored Contributor
18 years agoproblem changing static IP in socket server application
I'm trying to test simple sockect server example in Cyclone III NIOS II eval kit using NIOS IDE 8.0. I checked this example in my old version 7.2 of Quartus and it worked fine!!! I tried ...
Altera_Forum
Honored Contributor
18 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.