Sanchayan wrote: > I have got a connection running in listening mode on a particular port. For > giving Dynamic DNS provision, i need to change the port number of my > listening connection at run time. I tried tcp_bind, but, it returns > "ERR_ISCONN -13 Already connected".
You can't change the port of a listening pcb once it's open. Instead, close the pcb and create a new pcb on the port you need. > I tried to see in lwiplib.c file, if there is a function like > lwIPNetworkConfigChange(), which will help me change the port number for a > particular connection. I don't know that file, which suggests it is not part of lwIP itself but rather part of a specific lwIP port. Simon _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
