mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "srini.ammai" <srini.am...@gmail.com>
Subject Confusing behavior of DatagramConnector of MINA 1.1.2
Date Fri, 08 Feb 2008 06:19:20 GMT


I have used following code to create UDP connection. 
     But its behaviour is unpredicatable...
     Because once creating TCP and another time creating UDP.
     Sometimes if i remove , future.join();   from the below code...
     its creating UDP...but no for every execution.. 


     DatagramConnector           connector   = new DatagramConnector()
     ConnectFuture future = connector.connect(new
InetSocketAddress("", port), new HelpHandler());
     future.join() ;
     IoSession session = future.getSession() ;

    please help me resolve this problem....
    Thank in advance........... 
View this message in context: http://www.nabble.com/Confusing-behavior-of-DatagramConnector--of-MINA-1.1.2-tp15350088s16868p15350088.html
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message