Re: socket connection not being reset correctly
- From: "Allan Bruce" <amb@xxxxxxx>
- Date: Fri, 22 Jul 2005 09:05:57 +0100
"Alan Krueger" <wgzkid502@xxxxxxxxxxxxxx> wrote in message
news:0i_De.13574$Iv5.11524@xxxxxxxxxxx
> 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.
>
I have a lot of debug info and logging so I copied over the necessary bits,
and in doing so, I forgot to add the () of getSocket. ANd the typo below,
dosconnceted ;-)
>> try
>> {
>> String lread = lreader.readLine();
>> if (lread == null)
>> {
>> throw new Exception("Graceful client disconnect");
>> }
>> }
>> catch (Exception e)
>> {
>> dosconnectedCLient(lCCB);
>> }
>
> *blink*
I have found that netstat reckons the connections are still up, so is it my
JVM thats causing the problem? Or can I setup the sockets in a way for them
to not display this behaviour?
Thanks.
Allan
.
- Follow-Ups:
- Re: socket connection not being reset correctly
- From: Gordon Beaton
- Re: socket connection not being reset correctly
- References:
- socket connection not being reset correctly
- From: Allan Bruce
- Re: socket connection not being reset correctly
- From: Alan Krueger
- socket connection not being reset correctly
- Prev by Date: Apache, Java, & Session Cookies
- Next by Date: Re: socket connection not being reset correctly
- Previous by thread: Re: socket connection not being reset correctly
- Next by thread: Re: socket connection not being reset correctly
- Index(es):