You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by abidi aymen <ay...@gmail.com> on 2012/08/18 01:17:41 UTC
Udp client waits for server response before sending request
Hi, is there a function in client side to wait fro server response before
sending next request
Re: Udp client waits for server response before sending request
Posted by Emmanuel Lécharny <el...@gmail.com>.
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.
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com