520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
|
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
|
+
+
+
+
+
+
+
+
|
}
/*
* Actually do the job requested by a WM_NETEVENT
*/
static void enact_pending_netevent(void) {
int i;
static int reentering = 0;
if (reentering)
return; /* don't unpend the pending */
pending_netevent = FALSE;
reentering = 1;
i = back->msg (pend_netevent_wParam, pend_netevent_lParam);
reentering = 0;
if (i < 0) {
char buf[1024];
switch (WSABASEERR + (-i) % 10000) {
case WSAECONNRESET:
sprintf(buf, "Connection reset by peer");
break;
|