network.c
network.c

I had been fixing netlib.c over at gpsd anyway, and I'd liked how
it searched getaddrinfo, so checking this into the repo for reference.

Definately won't use it as is.

3 clause bsd here too, so no worries.

dtaht/twd,dtaht/twd