Moved the #ifdefs for the getnetby* etc. functions directly into the winsock implementation to avoid having to redefine the data structures in port.h.