Home
last modified time | relevance | path

Searched refs:xErrorSet (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/freemodbus/tcp_master/port/
Dport_tcp_master.c266 fd_set xErrorSet = *pxFdSet; in vMBTCPPortMasterRxCheck() local
271 xRes = select(xSd + 1, &xReadSet, NULL, &xErrorSet, &xTimeout); in vMBTCPPortMasterRxCheck()
275 } else if ((xRes < 0) || FD_ISSET(xSd, &xErrorSet)) { in vMBTCPPortMasterRxCheck()
402 fd_set xErrorSet; in xMBTCPPortMasterCheckAlive() local
408 FD_ZERO(&xErrorSet); in xMBTCPPortMasterCheckAlive()
410 FD_SET(pxInfo->xSockId, &xErrorSet); in xMBTCPPortMasterCheckAlive()
413 xErr = select(pxInfo->xSockId + 1, NULL, &xWriteSet, &xErrorSet, &xTimeVal); in xMBTCPPortMasterCheckAlive()
414 if ((xErr < 0) || FD_ISSET(pxInfo->xSockId, &xErrorSet)) { in xMBTCPPortMasterCheckAlive()
/hal_espressif-3.6.0/components/freemodbus/tcp_slave/port/
Dport_tcp_slave.c697 fd_set xErrorSet; in xMBTCPPortSendResponse() local
703 FD_ZERO(&xErrorSet); in xMBTCPPortSendResponse()
705 FD_SET(xConfig.pxCurClientInfo->xSockId, &xErrorSet); in xMBTCPPortSendResponse()
708 … xErr = select(xConfig.pxCurClientInfo->xSockId + 1, NULL, &xWriteSet, &xErrorSet, &xTimeVal); in xMBTCPPortSendResponse()
709 if ((xErr == -1) || FD_ISSET(xConfig.pxCurClientInfo->xSockId, &xErrorSet)) { in xMBTCPPortSendResponse()