Originally Posted by estabroo
Have you tried just doing another call to connect() to re-establish the connection? (assuming C here)
Yes I've tried that. But it didn't work.The connect call returned -1.The attributes used for the 2nd time to do a connect() are same,i.e the port number and server IP are all same.
Sorry forgot to mention; platform is C.