diff options
Diffstat (limited to 'socket/udp-bsd.c')
-rw-r--r-- | socket/udp-bsd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/socket/udp-bsd.c b/socket/udp-bsd.c index 029d385..e61d4c0 100644 --- a/socket/udp-bsd.c +++ b/socket/udp-bsd.c @@ -161,7 +161,8 @@ socket_recv (NiceSocket *sock, NiceAddress *from, guint len, gchar *buf) if (recvd < 0) { #ifdef G_OS_WIN32 - if (WSAGetLastError () == WSAEWOULDBLOCK) + if (WSAGetLastError () == WSAEWOULDBLOCK || + WSAGetLastError () == WSAECONNRESET) #else if (errno == EAGAIN || errno == EWOULDBLOCK) #endif |