设为首页 加入收藏

TOP

Windows Sockets 1.1应用实例(113)
2010-12-30 20:58:11 来源: 作者: 【 】 浏览:62232
Tags:Windows Sockets 1.1 应用 实例
p; 

        num_reads++;

        if (len != SOCKET_ERROR)

            bytes_read += len;

        /* Print the statistics gathered    */

        wsprintf((LPSTR)prbuf,"%d\n",num_reads);

        SetDlgItemText(hOurDlg, IDD_WRITE, (LPSTR) prbuf);

 

        wsprintf((LPSTR)prbuf,"%ld\n",bytes_read);

        SetDlgItemText(hOurDlg, IDD_SENT, (LPSTR) prbuf);

             

        time(&last_time);

     } /* end: while */

     total_time = timeout;

    

     wsprintf((LPSTR)pr

首页 上一页 110 111 112 113 114 115 116 下一页 尾页 113/143/143
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Windows Socket 1.1库函数概览 下一篇Windows Sockets 1.1编程

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: