Posted 14 Jun 2023 Good Morning to all, I'm working on a TCP connection and sometimes I need close it and reopen successively. When I close connection and Close is done I cannot view the correct TCP status because it remain ESTABLISHED. Why it could be happen? Waiting for your answer, Thank you, Mariangela Share this post Link to post Share on other sites
Posted 14 Jun 2023 By standard, there are long timeouts for TCP sessions after close before the ports can be re-used. There's a socket option that can be used when creating a socket to permit immediate re-use after close. Please show your code for how you are creating your connection. Share this post Link to post Share on other sites