Pages: [1]   Go Down
Author Topic: UDP Multicast - IGMP packet format  (Read 2021 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 12
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Global Moderator
Offline Offline
Shannon Member
Karma: 227
Posts: 14048
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

have you checked the old forum?

I recall it is mentioned several times, e.g. - - (multicast enable bit)

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


Rob Tillaart

Nederlandse sectie -,77.0.html -
(Please do not PM for private consultancy)

Pages: [1]   Go Up
Jump to: