mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Labunsky" <elabun...@trendmedium.com>
Subject Re: I need close and open connection when read the message for the same host
Date Wed, 28 Jun 2006 12:07:24 GMT
Hello Peter,

I have updated from 0.8 to 0.9 and connection status if offline now 
(session.isConnected() == false). Looks like 0.8 bug.

Regards,
Eugene Labunsky.
http://www.TrendMedium.com


----- Original Message ----- 
From: "peter royal" <proyal@apache.org>
To: <mina-dev@directory.apache.org>
Sent: Wednesday, June 28, 2006 12:42 PM
Subject: Re: I need close and open connection when read the message for the 
same host


> On Jun 21, 2006, at 12:54 PM, Eugene Labunsky wrote:
>> I have small problem ... I tried made my own tcp/ip stream parser  based 
>> on NetCat example (server send some binary stream) - it's  working 
>> fine... but when I tried close connection, wait 20 seconds  and connect 
>> again I have problem - connection not close if I'll  call session 
>> .close(); in the dataRead(), but sessionClosed run  when I tried call 
>> session.close(); What I'm doing wrong?
>
> Any chance you can post some small example code so we can see what's 
> going on?
>
> Thanks!
>
> -peter
>
> -- 
> proyal@apache.org - http://fotap.org/~osi
>
>
> 


Mime
View raw message