Problems with UDP in windows 10. UWP
问题 I am having the following problem: I am communicating 2 different machines in local network with UDP. In one side I have a Windows 7 machine with 4.5 framework installed. I am using the class System.Net with this code: public static void UDPWriter() { Task.Run(async () => { byte[] data = new byte[10000]; IPEndPoint ipep = new IPEndPoint(IPAddress.Pars("192.168.0.16"), 5002); Socket udpClient = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); udpClient.Connect(ipep);