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.

在例程中四条语句的作用是什么

Other Parts Discussed in Thread: CC3220SF
        /* Initialize SlNetSock layer with CC3x20 interface                      */
        SlNetIf_init(0);
        SlNetIf_add(SLNETIF_ID_1, SLNET_IF_WIFI_NAME, (const SlNetIf_Config_t *)&SlNetIfConfigWifi, SLNET_IF_WIFI_PRIO);
        SlNetSock_init(0);
        SlNetUtil_init(0);
上面这四条语句,是在C:\ti\simplelink_cc32xx_sdk_2_20_00_10__\examples\rtos\CC3220SF_LAUNCHXL\ns\tcpecho这个例程中的,在CC3220sf连接到路由器获取了IP地址后的执行的,我想请问这个这四个语句,尤其是前两个的作用是什么呢?因为我把这四句注释掉了,功能还是一样正常执行的。