hi, please see http://issues.apache.org/jira/browse/DIRMINA-583. this 
issue should be fixed since 2.0.0-M2. never forget to state the version 
you are using! rgds, alex

>>thank you alex, and all. the problem got resolved. I am using Mina 1.1.7 . 
>>DatagramAcceptorConfig is by default using true for reuseAddress.
>>After overwriting that behavior using SessionConfig.setReuseAddress(false)
, the code worked fine and >>throws bind exception if address is in use. If
anyone is looking for this, the code snippet is:
>>DatagramAcceptor dataAcceptor = new DatagramAcceptor();
>>DatagramAcceptorConfig config = dataAcceptor.getDefaultConfig();
>>config.getSessionConfig().setReuseAddress(false);
>>dataAcceptor.setDefaultConfig(config);

regards,
Hari
-- 
View this message in context: 
http://www.nabble.com/Datagram-Socket-Binding-Problem-tp22953211p22973462.html
Sent from the Apache MINA User Forum mailing list archive at Nabble.com.

Reply via email to