This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

您好:C6678 DSP向PC传输数据,改的程序是helloworld,demonenew函数要怎样才能调用UDP传输



看到网上的帖子说要加socket,有数据之后才能调用UDP传输。

s=socket(AF_INET,SOCK_DGRAM,TPPRO_UDP);

bzero()

bind

地址初始化

我应该把socket添加到哪才能调用UDP传输?