Feature #369

IPv6 support for liboml2 and cli parsing

Added by Olivier Mehani over 1 year ago. Updated 4 months ago.

Status:New Start date:30/08/2010
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:2.9.0

Description

Reading through liboml(2), it appears that it only supports IPv4:

“[tcp|udp]:[//]<host>:<port>
[...]
For instance, tcp:10.0.0.200:3003 or tcp://10.0.0.200:3003”

Is it just the documentation not mentioning IPv6, or is it the library which doesn't support it?

One would think of something like tcp://[2001:db8::1]:3003 [RFC5952,RFC3986].

Also, is it mandatory to pass an IP address here? Name resolution (which hides the AF) would be desirable.

[RFC5952] http://tools.ietf.org/html/rfc5952
[RFC3986] http://tools.ietf.org/html/rfc3986

History

Updated by Jolyon White over 1 year ago

IPv6 is not supported, but you should be able to use domain names instead of IP addresses (the library uses gethostbyname() to resolve network addresses).

Updated by Thierry Rakotoarivelo 4 months ago

  • Target version set to 2.9.0

Also available in: Atom PDF