Client side disconnect/reconnect?

bota999 ardaman.chauhan at gmail.com
Tue Aug 3 14:01:04 EDT 2010


Hi Bruno,
  Thanks for a sample example. It works fine but when i change my example,
my writes don't work as the channel comes out disconnected?. I have logs on
server side, i see being connected and receiving 1 message but why my
subsequent writes fail, i have no idea?
First time it writes 38b and receive a response from server. I haven't even
disconnected at that point?

  public boolean write(byte[] data) {
            if ((this.channel == null) || !this.channel.isConnected()) {
                return false; <==== I get this in client handler?
            }
-- 
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Client-side-disconnect-reconnect-tp5331263p5369458.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list