I wonder if the Zero-MQ guys knows that the letter Ø is almost identical to the symbol Ø and that it is pronounced "uh".<p>To people not using these letters on a daily basis, I'm sure it looks cool, in a bork swedish chef way, but it probably doesn't internationalize very well.
Just curious by looking at the snippets of code, why not make the code address-family agnostic?<p>The server should listen on both ipv6 and ipv4 at the same time (on linux at least, if you open a listening socket on ipv6, it will also accept ipv4 connections, so no need for duplicate code) and send advertisements on ipv6 and ipv4 as well.<p>The client should listen to advertisements on both address families, connect to whatever addresses it discovers : ipv6 first, then ipv4.<p>Also, having your own discovery/advertisement mechanism has its merits, but have you considered avahi/zeroconf/bonjour?