hi, I have a client socket towards my server. my inputStream is blocked with readFully() in a separate thread.. now, i closed the streams and the socket also from my main thread. But, the socket is still alive in the net ( observed using netstat ) how to close the socket in this condition? please help me for the same.. thanks and regards, stp.
by,<br />stp<br /> <br />Have a Nice Day...
Thanga prakash Somasundaram
posted 13 years ago
hi, I fixed this problem by setting the environment variable J2SE_PREEMPTCLOSE as 1, As recommended in java.sun.com .( This solution is applicable only for java client in linux platform with jre 1.3.1 ) reference : java.sun.com, BugId=434415. thanks & regards, stp.