can anyone explain why this udp connection doesn't work?

0

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

c#
udp
asked on Stack Overflow May 23, 2019 by user3757061 • edited May 24, 2019 by shaochuancs

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0