Pages: [1]   Go Down
Author Topic: UDP Multicast - IGMP packet format  (Read 1882 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
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
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13531
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. - 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.



Logged

Rob Tillaart

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

Pages: [1]   Go Up
Jump to: