I also see another bug:
method flags {
do for AddrInfo-Flags.enums { .key if $!ai_flags +| .value }
}
should be
method flags {
do for AddrInfo-Flags.enums { .key if $!ai_flags +& .value }
}
Though you probably don't even need the flags..
Curt
