| Description | | The igmp_join function requests that this host become a member of the host group identified by group_ip. Before any datagrams destined to a particular group can be received, an upper-layer protocol must ask the IP module to join that group. The igmp_join function is in the RL-TCPnet library. The prototype is defined in rtl.h. |
| Example | |
U8 sgroup[4] = { 238, 0, 100, 1};
..
if (igmp_join (sgroup) == __TRUE) {
printf ("This Host is a member of group: %d.%d.%d.%d\n",
sgroup[0],sgroup[1],sgroup[2],sgroup[3]);
}
else {
printf ("Failed to join a host group.\n");
}
..
|