Refer this http://mina.apache.org/handling-packet-fragementation.html
thanks ashish On Mon, May 25, 2009 at 8:05 PM, Emmanuel Lecharny <[email protected]> wrote: > On Mon, May 25, 2009 at 3:07 PM, Pietro Guerrieri > <[email protected]>wrote: > >> the problem is in "doDecode" for this tcp: 01999935 >> http://mina.apache.org/contact.html >> i get [myAction]01 >> get [year]9999 >> get [len-url]35 >> and if the buffer is empty i can't read le url because i don't have 35 byte >> to read >> [URL]http://mina.apache.org/contact.html >> > > Just because TCP splits the message in two parts. Your code have to deal > with that. > > > -- > Regards, > Cordialement, > Emmanuel Lécharny > www.iktek.com > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal
