WIZnet Developer Forum

[Multicast] Unable to receive

Hi,

I’m having some issues to receive multicast frames with W5500.

Initialization seems to be normal but receive buffer never changes from zero.

image

[INFO]SPI Initialized
[INFO]Global Interruptions Enabled
---------- DHCP INIT ---------
[INFO]HW ADDR: 0:8:dc:22:1:88
SOCK STATUS 0: SOCK_UDP
SOCK STATUS 1: SOCK_UDP

Socket 0 is set for UDP, port 4000 which I can receive data normally.
Socket 1 is set for UDP+MCAST, port 49707 which I cannot receive anything.

First question would be if something is being set for the intended group, and the question is yes, I sniffed w/ wireshark and the router is forwarding to the group every second:

1 0.000000 192.168.0.1 239.255.1.1 UDP 81 49707 → 49707 Len=39

Appreciate any help!

Fortunatelly I was able to fix the issue.

I had forgotten to add the DPORT instruction. :face_with_raised_eyebrow:

image

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.