[zeromq-dev] [PATCH] IPv6 changes to 4.0

Martin Sustrik sustrik at 250bpm.com
Mon Aug 22 12:12:29 CEST 2011


Hi Steve,

Couple of comments:

1. Comment says "IPv6 literal addresses must be surrounded by square 
brackets" while the brackets are optional only.

2. Brackets can be used on connecting side, but not on the binding side. 
If would be great if the behaviour was symmetric.

3. When trying to bind to lo:5555 strace reports following (Linux):

bind(10, {sa_family=AF_INET6, sin6_port=htons(5555), inet_pton(AF_INET6, 
"::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0

Which AFAIU is the same as *.

Martin



More information about the zeromq-dev mailing list