Skip to content

Commit f7927dd

Browse files
committed
Renamed Function.
1 parent 7c8cce3 commit f7927dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/NetMQ/NetMQBeacon.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ private void OnUdpReady(Socket socket)
199199
{
200200
Assumes.NotNull(m_pipe);
201201

202-
if (!ReceiveUdpFrame(out NetMQFrame frame, out string peerName)) return;
202+
if (!TryReceiveUdpFrame(out NetMQFrame frame, out string peerName)) return;
203203

204204
// If filter is set, check that beacon matches it
205205
var isValid = frame.MessageSize >= m_filter?.MessageSize && Compare(frame, m_filter, m_filter.MessageSize);
@@ -280,7 +280,7 @@ private void SendUdpFrame(NetMQFrame frame)
280280
}
281281
}
282282

283-
private bool ReceiveUdpFrame(out NetMQFrame frame, out string peerName)
283+
private bool TryReceiveUdpFrame(out NetMQFrame frame, out string peerName)
284284
{
285285
Assumes.NotNull(m_udpSocket);
286286

0 commit comments

Comments
 (0)