Skip to content

Commit

Permalink
Correct ignore exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Ridder-Geel committed May 17, 2021
1 parent 834b100 commit 42d227c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NetMQ/NetMQBeacon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ private NetMQFrame ReceiveUdpFrame(out string peerName)
}
catch(SocketException ex)
{
if (ex.SocketErrorCode != SocketError.NoBufferSpaceAvailable) { throw; }
if (ex.SocketErrorCode != SocketError.MessageSize) { throw; }
}
peerName = peer.ToString();

Expand Down

0 comments on commit 42d227c

Please sign in to comment.