lwip 中netconn与socket 编程有什么区别

2024-12-18 14:39:53
推荐回答(1个)
回答1:

错误发生在accept_function()函数中: /* We have to set the callback here even though * the new socket is unknown. conn->socket is marked as -1. */ newconn = netconn_alloc(conn->type, conn->callback); if (newconn == NULL)...