Re: socket connection not being reset correctly
- From: Alan Krueger <wgzkid502@xxxxxxxxxxxxxx>
- Date: Thu, 21 Jul 2005 23:07:29 -0500
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* .
- Follow-Ups:
- Re: socket connection not being reset correctly
- From: Allan Bruce
- Re: socket connection not being reset correctly
- References:
- socket connection not being reset correctly
- From: Allan Bruce
- socket connection not being reset correctly
- Prev by Date: Re: Drawing translucent masks
- Next by Date: Apache, Java, & Session Cookies
- Previous by thread: socket connection not being reset correctly
- Next by thread: Re: socket connection not being reset correctly
- Index(es):