Multicast UDP socket
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: Multicast UDP socket
by Eugeny ·
W5500 Broadcast Server - TCP/IP Chip / W5500 - WIZnet Developer Forum maybe this will help?
RE: RE: Multicast UDP socket
by Vien Huy Nguyen ·
I don’t see the destination hardware address being configured in the code in the provided link. Also, I think my situation is slightly different than that post. They were trying to receive multicast/broadcast frames with the W5500; I am trying to send multicast frames and receive unicast frames with W5500
Does the destination hardware address automatically get updated when I pass the multicast IP address to the sendto() function?
Specifically, I am trying to send to 239.192.8.32 multicast group; the destination hardware should be updated to multicast address but right now it is filled with the receiver’s MAC address
RE: Multicast UDP socket
by Eugeny ·
Look at the W6100 datasheet chapter 6.3.3, this may give some good idea.
It seems MC must not have ARP done, therefore try using SEND_MAC.
RE: Multicast UDP socket
by Vien Huy Nguyen ·
In chapter 6.3.3, it looks like I have to set the appropriate DHAR register myself.
In this multicast example provided by WIZnet, they never set DHAR, I am not sure how this works: https://github.com/Wiznet/ioLibrary_Driver/blob/master/Application/multicast/multicast.c
Also in the W5500 datasheet section 4.2, for multicasting in UDP mode, it says to set Sn_DIPR & Sn_DPORT, it does not say anything about Sn_DHAR.