[zeromq-dev] Poll results!

Martin Sustrik sustrik at fastmq.com
Wed Dec 10 13:07:42 CET 2008


Hi Frank,

>> 1. Is IPv4 NIC address in textual format determistically distiguishable 
>> from IPv6 address? If not so, we would have to prefix the address is 
>> some way, e.g. "IPv4:127.0.0.1:5555"
> 
>   Yes, IPv4 and IPv6 addresses are determistically distiguishable. IPV6 uses
> ":" to separate groups whereas IPv4 uses ".". But we have to change the
> ":port" suffix so that it is both compatible with IPv4 and IPv6.
> 
>> 2. When IP address is entered as NIC or host name, does it make any 
>> difference if the name is translated to IPv4 or IPv6 address? If so, 
>> user has to have option to specify the protocol.

This kind of change (e.g. "eth0:5555" -> eth0#5555") is not very nice as 
it would break backward compatibility. However, I guess there's no way 
to achieve backward compatibility and IPv6 support at the same time. Any 
suggestions for the new format of the string?

Martin



More information about the zeromq-dev mailing list