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.
CCS自带的helloworld工程,里面在哪里设置端口号?
设置什么端口号?
您好Andy:
非常感谢您的回答。
我说的端口号是helloworld程序使用UDP方式与上位机通信的时候,上位机给6678发送数据的时候需要知道端口号,这个端口号在helloworld程序的哪里设置?
我是新手,期待您的回答。
上面的问题补充一下:
static void NetworkOpen(){ // Create our local server hHello = DaemonNew( SOCK_DGRAM, 0, 7, dtask_udp_hello, OS_TASKPRINORM, OS_TASKSTKNORM, 0, 1 );}
上面的“7”是端口号吗?