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

Use a use count for sockets on Windows #77

Merged
merged 1 commit into from
Aug 6, 2024
Merged

Conversation

hitman-codehq
Copy link
Owner

In order to ensure that WSACleanup() is not called for sockets that have never been opened, use a use count when opening and closing sockets and call WSACleanup() only when it reaches 0.

In order to ensure that WSACleanup() is not called for sockets that have
never been opened, use a use count when opening and closing sockets and
call WSACleanup() only when it reaches 0.
@hitman-codehq hitman-codehq merged commit 84183b1 into master Aug 6, 2024
7 checks passed
@hitman-codehq hitman-codehq deleted the socket_shutdown branch August 6, 2024 22:45
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