modify the ip address during running

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

modify the ip address during running

525件の閲覧回数
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)
0 件の賞賛
1 返信

405件の閲覧回数
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