|
TR) prbuf);
ltemp = bytes_read/total_time;
wsprintf((LPSTR)prbuf,"%ld\n", ltemp);
SetDlgItemText(hOurDlg, IDD_BYTES, (LPSTR) prbuf);
ltemp = 8 * (bytes_read/total_time);
wsprintf((LPSTR)prbuf,"%ld\n", ltemp);
SetDlgItemText(hOurDlg, IDD_BITS,
(LPSTR) prbuf);
if (bytes_read) {
SetDlgItemText(hOurDlg,
IDD_COMMENT, "...TCP Listen Done\n");
}
/* end: if (bytes_read) */
return (bytes_read);
}
/* eof */
#include <windows.h>
#include <winsock.h>
/*
* 文件名: ERRNO.C
*/
/*
*
Function: WSAsperror()
*
*
Description:
*
|