I am trying to setup multicast messaging using the nichestack. My issue is when I try to call setsockopt to add membership, the processor appears to be restarting. No error is returned to indicate what may be the issue. I am using a static IP.
if(setsockopt(socket, IPPROTO_IP, IP_ADD_MEMBERSHIP, (char *)&group, sizeof(group)) < 0)
perror("Error adding multicast group..\n");
May I know the information as follow:
Can I have the design file for further investigation?