rtcs

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

rtcs

458 Views
alvarar
Contributor I

how to use UDP in rtcs

to receive a broadcast datagram

0 Kudos
1 Reply

329 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