A community member has associated this post with a similar question:
UDP issue with Visual Studio 2017 Application
Only moderators can edit this content.
UDP issue with Application built on VS2017
Hi,
I have a udp client application which is built using VC++/MFC library on Visual Studio 2017. This application works well and receives messages in all my office laptops in Germany and India, but same application doesn't work for some other country sites like Istanbul and Bangkok. All laptops have WINDOWS 10 running on them.
I can see UDP messages in wireshark but this doesnt reach to application, error shown on wireshark 'BAD UDP LENGTH' whether I send 1 byte or 100 byte error remains same.
Interesting point I have same application built on Visual Studio 2010 which works and receives all messages.
I wrote several test UDP receiver to check is its Visual Studio compatibility issue with some WINDOWS 10 laptop. Any application C++, MFC, C# which was built on 2017 not receiving data from network however if I send message from same machine it receives.
Also I have python listener which receives all messages.
Can anyone help to rectify the issue as I want to run application built on 2017 ?
Thanks.