Windows Sockets 1.1应用实例(十六)

2010-12-30 20:58:11 · 作者: · 浏览: 62978
sp;                    {

                            AlertUser(hWnd, "WSAStartup() failed\n");

                            PostQuitMessage(0);

                     }

                     hostaddr = gethostbyname(server_address);

                     if (hostaddr == NULL)

        &nbs