Windows Sockets 1.1应用实例(125)

2010-12-30 20:58:11 · 作者: · 浏览: 63000
"Awaiting the TCP Data ...");

       SetDlgItemText(hOurDlg, IDD_HNAME, "                      ");

 

       tmp = sizeof(local);

       if (!blocking_option) {

       hAcceptSock = accept(hSock,(struct sockaddr FAR *)&local,

              (int FAR *)&tmp);

       }

       else {

       for (;;) {

              do {

              ;

              } while (ShoutBlockingHook()); /* Dispatch mess