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" <[EMAIL PROTECTED]>
To: <[email protected]>
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

--
[EMAIL PROTECTED] - http://fotap.org/~osi




Reply via email to