C# Application not receiving packets on UDPClient.Receive

前端 未结 2 356
温柔的废话
温柔的废话 2020-12-20 07:51

I\'ve come across a curious issue I can\'t seem to debug. My application received packets from a device sending UDP packets over a specific port. After setting up the UDP li

2条回答
  •  猫巷女王i
    2020-12-20 08:10

    If you are running this on Windows Vista or beyond, it is probably the UAC. It can quietly prevent sockets from working properly. If you turn the UAC level down, it won't just block the socket.

提交回复
热议问题