modify the ip address during running

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

modify the ip address during running

522 次查看
ninesun
Contributor II

Can I modify the ip address when socket task is running. for example. I had used function ipcfg_bind_staticip to set ip address at first then i build the socket task. If i receive any modify ip command(etc from serial port or network), Can I modify the IP addres use the ipcfg_bind_staticip with new ip address? Can anyone give some suggestion? thanks

标签 (1)
标记 (1)
0 项奖励
1 回复

402 次查看
ivadorazinova
NXP Employee
NXP Employee

Hello nine sun,

I apologize for my late response.

When you open socket on specific address and port, it´s clear that you cannot change it while it running.

First you must close the socket, configure new IP address and then open the socket.

Best Regards,

Iva