收发EtherCAT帧——ecx_closenic

这个函数作用是关闭socket,入参是port结构体

但是我们没有这个socket,关闭它?感觉之前写STM32F7摘掉TCP/IP,是在while(1)里发送ARP包,端口一直开着,所以并没用到。所以之后的test里也要改一下,是否不用关闭?

int ecx_closenic(ecx_portt *port)//??? close() in linux sys/socket.h

猜你喜欢

转载自blog.csdn.net/wofreeo/article/details/89402177