Windows 8.1 and UDP not working

3 visualizzazioni (ultimi 30 giorni)
Dario
Dario il 14 Ott 2014
Commentato: Jon Boerner il 15 Ott 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 Commento
Jon Boerner
Jon Boerner il 15 Ott 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?

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by