rtcs

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

rtcs

464 次查看
alvarar
Contributor I

how to use UDP in rtcs

to receive a broadcast datagram

0 项奖励
1 回复

335 次查看
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 项奖励