rtcs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Posting new questions will be temporarily unavailable from Dec 21 to Jan 5 due to a scheduled community upgrade.

rtcs

1,352 Views
alvarar
Contributor I

how to use UDP in rtcs

to receive a broadcast datagram

0 Kudos
Reply
1 Reply

1,223 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Ray:

To broadcast a UDP message with RTCS,  you need to set

the destination IP to INADDR_BROADCAST, 

raddr.sin_addr.s_addr = INADDR_BROADCAST;

UDP should receive broadcast packets without any special socket option.

Regards

Daniel

0 Kudos
Reply