Windows 8.1 and UDP not working

3 visualizaciones (últimos 30 días)
Dario
Dario el 14 de Oct. de 2014
Comentada: Jon Boerner el 15 de Oct. de 2014
Hello,
I updated my system to Windows 8.1 (and also Windows 10 for testing purposes) and now I have problems receiving UDP packets sent from a smartphone. The code is proven to work well on a Windows 7 machine with Matlab 2014a or 2014b installed.
Whereas sending UDP packets is working, receiving doesn't work on a Windows 8.1 machine.
I disabled the firewall and I have checked, whether the packets are able to reach my computer using Wireshark. In other words, I can see the packets using Wireshark Network Sniffer, but Matlab and Simulink can't read them.
Any ideas?
Thank you!
  1 comentario
Jon Boerner
Jon Boerner el 15 de Oct. de 2014
I ran a quick test wit two machines I had on hand (both with R2014b). One was Windows 7 and one was Windows 8.1. I created an echo server with MATLAB on the Windows 7 machine via echoudp and then tried to write it read from it using MATLAB on the Windows 8.1 machine. (I pretty much followed the example in the udp documentation, but instead of using the localhost, I used the Windows 7 machine).
This seemed to work as expected.
The wireshark test definitely makes it seem like a MATLAB issue, but if you have an extra machine with MATLAB around, I wonder if the example I ran also works for you?
How are you receiving UDP in MATLAB? With a udp object? Could you post an example code snippet?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by