Unable to send and receive UDP packets

Hi, I’m using a wiznet W6100 EVB Pico board and it should send and receive data on a multicast address however I’m not finding anythig that works correctly.
Can someone point me how to setup the environement or the correct library to use. TCP works fine, WOL packets works fine but not for the multicast.

1 Like

Hi, I was struggling with this problem and solved it by forcing ARP in Linux using the following command:

arp -s

I found this solution on: c# - Send UDP packet, not using ARP, known IP and MAC - Stack Overflow

In my fork GitHub - argolomb/Ethernet at W6100-EVB-Pico I solve the problem change Ethernet.cpp line 87 from:

W5100.setIPAddress(ip._address.bytes);

to

W5100.setIPAddress(ip.raw_address());

after udp works like a charm, without made manual arp.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.