mina-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: Udp client waits for server response before sending request
Date Sat, 18 Aug 2012 06:51:43 GMT
Le 8/18/12 1:17 AM, abidi aymen a écrit :
> Hi, is there a function in client side to wait fro server response before
> sending next request

This is UDP : don't expect the framework to 'wait' when the underlying 
protocol has been specifically designed for a minimal interection with 
the server.

If your client needs to receive some response from the server, you have 
to code this part yourself.
Also not that even if you have used TCP, with MINA, you would still have 
to wait for the response from the server, due to the non-blocking nature 
of NIO.

Emmanuel Lécharny

View raw message