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

[fix] 修复windows下connect返回值异常bug #255

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Invisible-Boy
Copy link

windows下的connect_mode_hook函数返回值不正确。hook connect函数中将socket设为非阻塞态后调用native_connect,不会返回WSAEINPROGRESS而是返回WSAEWOULDBLOCK,此时需要等待,且等待结束后需要将socket重新恢复为非阻塞态。

@yyzybb537 yyzybb537 force-pushed the master branch 2 times, most recently from f4a3d15 to 17d915b Compare March 10, 2023 05:32
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

Successfully merging this pull request may close these issues.

1 participant