I use the wip tcp client function , connect to remote PC running a TCP server program. The remote PC have public dynamic IP address. So I use a Dynamic DNS for it.
wip_TCPClientCreateOpts( myDynaDomain.com, 1024, myTcpHandler, NULL, WIP_COPT_KEEPALIVE, 10, WIP_COPT_END);
the module work fine, but have some problem in below even:
1 When the network drop ( for example , the remote PC network cable been pull ) , no any error showed by the module.
2 When the remote PC IP address is changed, the module can’t reconnect to the new IP by the dynamic domain. until reboot the module.
Maybe I use the function in wrong way, please give me some advice. thanks.