I have two C# console executable, both will be executed in same machine (machine’s firewall is off). first executable creates a UdpClient(), then Send a sequence of bytes to IPAddress.Broadcast on port 10110, second executable creates a UdpClient(address, 10110) then Receive( ref null), if the address is “127.0.0.1”, I am getting “System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 127.0.0.1:10110” in second executable, if the address is IPAddress.Any, the second executable receives data correctly. I can’t understand why with the address “127.0.0.1” it doesn’t work
User contributions licensed under CC BY-SA 3.0