Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wiznet网线异常断开后调用close函数相关资源无法释放 #80

Open
LeoXia1012 opened this issue Jan 24, 2025 · 0 comments
Open

Comments

@LeoXia1012
Copy link

经排查在wiz_socket.c中第53行中有判断网线连接状态内容,在wiz_closesocket函数中调用了该宏定义(即代码的504行),若出现网络连接不稳、网线断连等问题,相关资源如何得到释放?查看早期驱动代码,发现WIZ_INIT_STATUS_CHECK没有网络连接状态判断,新版本驱动添加此内容是处于什么原因呢,目前我的解决方案是在wiz_closesocket函数中注释掉该宏定义,如果这样使用是否会出现什么不可预料的问题呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant