[WSA equivalent] WSAEINVAL [Description] One or more invalid parameters was passed to the getnameinfo function. This error is returned if a host name was requested but the hostlen parameter was zero or if a service name was requested, but the servlen parameter was zero. [Error value] 
EAI_BADFLAGS
E A I _ A G A I N
E A I _ B A D F L A G S
E A I _ F A I L
E A I _ F A M I L Y
E A I _ M E M O R Y
E A I _ N O N A M E