Re: socket connection not being reset correctly



Allan Bruce wrote:
lreader = new BufferedReader(new SocketInputStream(lCCB.getSocket));

I suspect this isn't the actual code, unless you have a field called "getSocket", which would be mighty peculiar.


try
{
String lread = lreader.readLine();
if (lread == null)
{
throw new Exception("Graceful client disconnect");
}
}
catch (Exception e)
{
dosconnectedCLient(lCCB);
}

*blink* .