if (soap_valid_socket(soap->socket) && !(soap->omode & SOAP_IO_UDP))
{
tcp_select(soap, soap->socket, SOAP_TCP_SELECT_RCV | SOAP_TCP_SELECT_ERR, 5);
soap->fshutdownsocket(soap, soap->socket, SOAP_SHUT_RDWR);
soap->fclosesocket(soap, soap->socket);
soap->socket = SOAP_INVALID_SOCKET;
}
return SOAP_OK;
}
我正在使用此代码段从Excel工作表(xls)中读取数据并将其保存到属性中。但是在运行我的测试用例时它会给出错误(多次编译错误异常错误)。
我应该在代码中做些什么修改?