    iFamily   := NumGet(pAddrinfo + 0, Offset.addrinfo.ai_family)
    iSockType := NumGet(pAddrinfo + 0, Offset.addrinfo.ai_socktype)
    iProtocol := NumGet(pAddrinfo + 0, Offset.addrinfo.ai_protocol)
-
+ 
    iSocket := DllCallCheck("Ws2_32\socket", "Int", iFamily, "Int", iSockType, "Int", iProtocol)
    if (iSocket < 0)
    {


Main()
{
   WSAStartup()

   pAddrinfo := ResolveName(Config.sHost, Config.iPort)

      static ai_addr      := A_Is64bitOS ? 32 : 24
      static ai_next      := A_Is64bitOS ? 40 : 28
   }
   
   class sockaddr_in
   {
      static sin_family := 0
