Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHi all,
I want to inform you that the bind-socket problem in my design can be overcome by connecting to the Nios via different port. It seems that the previous port is still being used (somehow..I don't know:confused:) So now I face another problem. I have closed my previous socket (using close() function), changed Nios' IP address with the new IP address, re-initialize TCP/IP connection (create socket, bind, listen) correctly / without error. But when I tried to access the Nios (which has been assigned with the new ip address) from my PC, my PC always couldn't connect to the Nios :confused:. It looked like that my PC couldn't find the Nios' new socket. :confused: Meanwhile, the Nios was ready to accept any new connection. The Nios IP address also could be ping from my PC. So do anyone know how to solve this problem?? :( I'm thinking that the previous socket wasn't closed completely. Does anyone know how to completely destroy the old socket? Thanks all! Hopefully anyone of you can help me to figure out my problem.