Chris Browne <cbbrowne@acm.org> writes:
> (gdb) print addr->ai_addr->sa_data
> $18 = "\000\001\177\000\000\001\000\000\000\000\000\000\000"
Hmm, that looks a bit odd --- what's the full declaration of structs
sockaddr and sockaddr_in on that machine?
regards, tom lane