mDNS issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mDNS issue

893 Views
dz
Contributor I

Hey guys,

 

    I am not able to send mDNS packet out. The address is "224.0.0.251". But if I send the same packet by using 255.255.255.255, then it works.

    Can anyone help me on this? Thanks.

    I am using MQX3.7.

 

Dan

Labels (1)
Tags (1)
0 Kudos
2 Replies

455 Views
Luis_Garabo
NXP TechSupport
NXP TechSupport

Hi Daniel,

From the RTCS user's guide I can see that you will need to join a multicast group. Here is the example from the user's guide:

uint_32 sock;

struct ip_mreq group;

group.imr_multiaddr = multicast_ip_address;

group.imr_interface = local_ip_address;

error = setsockopt(sock, SOL_IGMP, RTCS_SO_IGMP_ADD_MEMBERSHIP, &group, sizeof(group));

I hope this helps.

Regards,

-Garabo

455 Views
BrianMoon
Contributor II

Hi Daniel,

I am working on a seemingly similar project. Have you been able to get your system to catch and interpret incoming multicast DNS probes? I'm listening on the mDNS multicast address, but something still isn't right because, so far, my system cannot hear any mDNS traffic.

-Brian

0 Kudos