[ 
https://issues.apache.org/jira/browse/DIRMINA-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506457
 ] 

Trustin Lee commented on DIRMINA-341:
-------------------------------------

IoSession provides both getLocalAddress and getRemoteAddress, so user can 
determine which port it's bound to.  You will have to downcast the IoSession to 
SocketSession though.

Your idea is interesting...but I am not sure if it's a common use case.  It's 
very easy to implement by IoHandler implementor.

> Allow binding multiple SocketAddresses per IoAcceptor.
> ------------------------------------------------------
>
>                 Key: DIRMINA-341
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-341
>             Project: MINA
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Trustin Lee
>             Fix For: 2.0.0-M1
>
>
> 2.0-M1-SNAPSHOT allows only one SocketAddress to be bound per IoAcceptor.  
> People want to bind the same protocol handler into more than one NICs with 
> different port.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to