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

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

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

PROTON-1437: c proactor address info

Provides actual address information for both ends of a proactor-managed
connection using pn_proactor_addr_* functions.

- pn_proactor_addr_* functions are clearly identified as part of proactor lib
- portable print local/remote address as string with no platform-specific 
headers
- POSIX/windows can test pn_proactor_addr_is_sockaddr() to use native sockaddr 
API

This can be extended safely to non-sockaddr platforms by making
pn_proactor_addr_is_sockaddr() return false and adding pn_proactor_addr_is_foo()
to indicate the underlying address type


> c proactor address info
> -----------------------
>
>                 Key: PROTON-1437
>                 URL: https://issues.apache.org/jira/browse/PROTON-1437
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-c
>    Affects Versions: 0.17.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>             Fix For: 0.18.0
>
>
> The C proactor should provide access to the remote network address for 
> incoming connections. The standard BSD `struct addrinfo` will be used to 
> represent the address, this is portable to any platform that supports BSD 
> sockets and is (in principle) extensible to cover new types of address by 
> adding new values for ai_family. 
> (The original JIRA also mentioned listeners, that has moved to a separate 
> issue PROTON-1438)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to