You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2012/10/10 13:15:07 UTC

[jira] [Updated] (DIRMINA-554) A hook between bind() and accept()

     [ https://issues.apache.org/jira/browse/DIRMINA-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRMINA-554:
--------------------------------------

    Fix Version/s:     (was: 2.0.6)
                   2.0.8
    
> A hook between bind() and accept()
> ----------------------------------
>
>                 Key: DIRMINA-554
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-554
>             Project: MINA
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 2.0.0-M1
>            Reporter: Trustin Lee
>            Priority: Minor
>             Fix For: 2.0.8
>
>
> Related discussion: http://markmail.org/message/2yzhbttmen22gida
> The typical use case is to run a server with a regular user which binds to a previledged port (i.e. 1~1024).  To implement this kind of server, there needs to be a hook after ServerSocket.bind() and before ServerSocket.accept().
> The first suggested solution was to provide a listener method to IoServiceListener, but it's not optimal because IoServiceListener is used for both acceptor and connector.  Any better idea is appreciated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira