Closed ShineRoyal closed 4 years ago
补全src/wiz_ping.c中int wiz_ping()中rt_kprintf的%d参数; 修改src/wiz_socket.c中为DNS申请分配Socket时,调用alloc_socket函数,在DNS_run后使用free_socket对Socket释放,避免使用wiz_socket()时因为sockets[idx].magic无值而造成Socket被重复使用。
@ShineRoyal ping....
可以先合并,细节改动再让贤良完善一下
补全src/wiz_ping.c中int wiz_ping()中rt_kprintf的%d参数; 修改src/wiz_socket.c中为DNS申请分配Socket时,调用alloc_socket函数,在DNS_run后使用free_socket对Socket释放,避免使用wiz_socket()时因为sockets[idx].magic无值而造成Socket被重复使用。