On Mon, Nov 5, 2012 at 4:35 PM, Emmanuel Lécharny <[email protected]>wrote:
> Le 11/5/12 11:37 AM, daniel vettori a écrit : > > Hi, >> >> As i am using Apace MINA in my socket component. I want to have >> synchronous >> behaviour with the socket server and socket client while sending messages. >> Right now ,I send messages directly and process based on delimiter. Is it >> good to have some kind of Ack thing to work with...or work with multiple >> sessions at a time.. or any other.What will be the right way to approach >> for this ...?? >> > > It's up to you to define a protocol that expect some kind of ACKs. > > Otherwise, I'm not sure what you are trying to do : how does working with > multiple sessions relates to the problem you are trying to fix ? > > > -- > Regards, > Cordialement, > Emmanuel Lécharny > www.iktek.com What i want is...suppose 2 msgs are there to be send ...i want second msg to be sent only when ack for first msg is received...or with every session..... !!! ???
