mDNS issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

mDNS issue

1,670件の閲覧回数
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

ラベル(1)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

1,232件の閲覧回数
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

1,232件の閲覧回数
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 件の賞賛
返信