If TCP socket was connected with connect() instead of accept() it would never send FIN to other end when it was closed.