diff --git a/ArtNetSharp/ArtNet.cs b/ArtNetSharp/ArtNet.cs index 1bae08c..4421b67 100644 --- a/ArtNetSharp/ArtNet.cs +++ b/ArtNetSharp/ArtNet.cs @@ -160,6 +160,7 @@ public async Task GetLocalIP(IPAddress ip) try { Socket testSocket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); + testSocket.EnableBroadcast = true; await testSocket.ConnectAsync(ip, Constants.ARTNET_PORT); IPAddress localIpAddress = ((IPEndPoint)testSocket.LocalEndPoint).Address; return localIpAddress;