aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32.c
diff options
context:
space:
mode:
authorLee Salzman <[email protected]>2024-05-20 14:06:47 -0400
committerLee Salzman <[email protected]>2024-05-20 14:06:47 -0400
commit80103c873dbda77a03f246822f1d63cfe4da854a (patch)
tree53a7b76a549ede585880b96c077c0de412ac62fb /win32.c
parent4ce1625b8ae22a4e0030f07d80360e25ae558a1e (diff)
downloadenet-80103c873dbda77a03f246822f1d63cfe4da854a.tar.gz
enet-80103c873dbda77a03f246822f1d63cfe4da854a.zip
check for EINTR
Diffstat (limited to 'win32.c')
-rw-r--r--win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32.c b/win32.c
index f395c09..462e242 100644
--- a/win32.c
+++ b/win32.c
@@ -381,6 +381,7 @@ enet_socket_receive (ENetSocket socket,
{
case WSAEWOULDBLOCK:
case WSAECONNRESET:
+ case WSAEINTR:
return 0;
case WSAEMSGSIZE:
return -2;