hello,
I'm trying to implement a client code using netconn. It's working but I can't use the same port twice. When I compile the code for the first time the connection works fine. But the second I get retransmissions. I think I have to close/free the port from my server (linux netcat server) somehow. I already close, disconnect and delete my netconn socket.
Thanks for your help.
Jill
Hi Jill:
Could you please let me know how to reproduce your issue on my side? Your hardware and software, or a simple project for me to reproduce it? Thanks
Regards
Daniel
Hi
Because there's an active TCP connection on that port. The client and server are still tring to gracefully close the connection.
I tried on my side with force-close the connection with "netconn_close" + "netconn_delete", I can get the right result.
Regards
Daniel