1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 19:56:25 +00:00

Added separate debugging ability to trace line connect/disconnect activities to better debug virtual null modem cable activities.

This commit is contained in:
Mark Pizzolato
2013-05-06 07:50:09 -07:00
parent f8da94e001
commit 9faef6ea89
5 changed files with 49 additions and 11 deletions

View File

@@ -939,6 +939,10 @@ if (rbytes == SOCKET_ERROR) {
err = WSAGetLastError ();
if (err == WSAEWOULDBLOCK) /* no data */
return 0;
#if defined(EAGAIN)
if (err == EAGAIN) /* no data */
return 0;
#endif
if ((err != WSAETIMEDOUT) && /* expected errors after a connect failure */
(err != WSAEHOSTUNREACH) &&
(err != WSAECONNREFUSED))