diff --git a/Lidgren.Network/NetPeer.LatencySimulation.cs b/Lidgren.Network/NetPeer.LatencySimulation.cs index cac8d50..00844c8 100644 --- a/Lidgren.Network/NetPeer.LatencySimulation.cs +++ b/Lidgren.Network/NetPeer.LatencySimulation.cs @@ -263,7 +263,7 @@ namespace Lidgren.Network try { // TODO: refactor this check outta here - if (target.Address == NetUtility.GetBroadcastAddress()) + if (target.Address == NetUtility.GetCachedBroadcastAddress()) m_socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Broadcast, true); int bytesSent = m_socket.SendTo(m_sendBuffer, 0, numBytes, SocketFlags.None, target);