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

Jiri Daněk updated PROTON-2104:
-------------------------------
    Description: 
C++ examples simple_send and simple_recv accept IPv6 loopback address [::1] but 
have issues with other apparently legal addresses.

These work on my system:

{noformat}
ping6 fe80::c662:ab36:1ef1:1596
ping6 fe80::c662:ab36:1ef1:1596%wlp4s0
ping6 fe80:0000:0000:0000:c662:ab36:1ef1:1596
{noformat}


Wrapping the host part in square brackets and sending that address to 
simple_send fails:

{noformat}
 ./simple_send -a [fe80::c662:ab36:1ef1:1596]:5672/abc
 proton:io: Invalid argument - on connect fe80::c662:ab36:1ef1:1596:5672
{noformat}

All three variants of the address that work with ping6 fail with the same error 
on the simple_send command line.

 

  was:
C++ examples simple_send and simple_recv accept IPv6 loopback address [::1] but 
have issues with other apparently legal addresses.

These work on my system:

{{
ping6 fe80::c662:ab36:1ef1:1596
 ping6 fe80::c662:ab36:1ef1:1596%wlp4s0
 ping6 fe80:0000:0000:0000:c662:ab36:1ef1:1596
}}


Wrapping the host part in square brackets and sending that address to 
simple_send fails:

{{
 ./simple_send -a [fe80::c662:ab36:1ef1:1596]:5672/abc
 proton:io: Invalid argument - on connect fe80::c662:ab36:1ef1:1596:5672
 }}

All three variants of the address that work with ping6 fail with the same error 
on the simple_send command line.

 


> [c++ client] Error specifying url with IPv6 literal host address
> ----------------------------------------------------------------
>
>                 Key: PROTON-2104
>                 URL: https://issues.apache.org/jira/browse/PROTON-2104
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding
>    Affects Versions: proton-c-0.29.0
>            Reporter: Charles E. Rolke
>            Priority: Major
>
> C++ examples simple_send and simple_recv accept IPv6 loopback address [::1] 
> but have issues with other apparently legal addresses.
> These work on my system:
> {noformat}
> ping6 fe80::c662:ab36:1ef1:1596
> ping6 fe80::c662:ab36:1ef1:1596%wlp4s0
> ping6 fe80:0000:0000:0000:c662:ab36:1ef1:1596
> {noformat}
> Wrapping the host part in square brackets and sending that address to 
> simple_send fails:
> {noformat}
>  ./simple_send -a [fe80::c662:ab36:1ef1:1596]:5672/abc
>  proton:io: Invalid argument - on connect fe80::c662:ab36:1ef1:1596:5672
> {noformat}
> All three variants of the address that work with ping6 fail with the same 
> error on the simple_send command line.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to