[ 
https://issues.apache.org/jira/browse/PROTON-1733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16312033#comment-16312033
 ] 

ASF subversion and git services commented on PROTON-1733:
---------------------------------------------------------

Commit d6cef7b8ca32c470cbae57e6f7a6b7e4c508a06d in qpid-proton's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=d6cef7b ]

PROTON-1733: [cpp] access actual listening port for listen on port 0

Added proton::listener::port() to provide access to the port.
Updated tests to listen on port 0 as a safe, portable way to allocate ports.


> [cpp] Provide access to actual listening port for listen(":0")
> --------------------------------------------------------------
>
>                 Key: PROTON-1733
>                 URL: https://issues.apache.org/jira/browse/PROTON-1733
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: cpp-binding
>    Affects Versions: proton-c-0.19.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>             Fix For: proton-c-0.20.0
>
>
> Add
> int proton::listener::port() 
> to get the actual listening port used by an open listener, for the case where 
> the listener was started with port=0.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to