Go Down

Topic: UDP Multicast - IGMP packet format (Read 2343 times) previous topic - next topic

Paul Tanner

I am working with the standard Ethernet library (Wiznet chip) to create a UDP multicast receiver.

When the thing connects it needs to send an IGMP packet to connect to the appropriate multicast socket. This causes the packets to be routed correctly.

I see a call for sending this packet in socket.h but have not found the code to construct the packet that needs to be sent.

  uint16_t igmpsend(SOCKET s, const uint8_t * buf, uint16_t len) ()

Clearly I could go to the RFC and write the code from scratch but would hate to re-invent the wheel.  Has anyone done this?

Thx Paul

robtillaart

have you checked the old forum?

I recall it is mentioned several times, e.g. - http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1284323807 - (multicast enable bit)

You might need to search for UPnP too as it seems to use related code patterns.



Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy