|
bsp; continue;
else {
wshout_err
(hOurDlg, WSAGetLastError(), "send()");
}
/* Calc. time elapsed & stats about any
data sent */
time(&end);
if (total_time = (long) difftime(end,
start)) {
/*
Print the statistics gathered */
wsprintf((LPSTR)prbuf,"%ld\n",write_count);
SetDlgItemText(hOurDlg,
IDD_WRITE, (LPSTR) prbuf);
|