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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user