directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r125146 - /incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/datagram/DatagramConnector.java
Date Fri, 14 Jan 2005 06:00:33 GMT
Author: trustin
Date: Thu Jan 13 22:00:31 2005
New Revision: 125146

URL: http://svn.apache.org/viewcvs?view=rev&rev=125146
Log:
Fixed: DatagramConnector didn't connect the channl in connect().
Modified:
   incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/datagram/DatagramConnector.java

Modified: incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/datagram/DatagramConnector.java
Url: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/datagram/DatagramConnector.java?view=diff&rev=125146&p1=incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/datagram/DatagramConnector.java&r1=125145&p2=incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/datagram/DatagramConnector.java&r2=125146
==============================================================================
--- incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/datagram/DatagramConnector.java
(original)
+++ incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/datagram/DatagramConnector.java
Thu Jan 13 22:00:31 2005
@@ -88,8 +88,8 @@
                                                 + address.getClass() );
 
         DatagramChannel ch = DatagramChannel.open();
+        ch.connect( address );
         ch.configureBlocking( false );
-        ch.socket().connect( address );
 
         RegistrationRequest request = new RegistrationRequest( ch, handler );
         synchronized( this )

Mime
View raw message