-
Notifications
You must be signed in to change notification settings - Fork 33
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
Samples for cAsyncSocket.cls #18
Comments
Remaining TIME_WAIT is normal. Check out this console session
On Win10 the TIME_WAIT state past closing the socket remains for ~30 seconds. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Can I ask you please to help me with ports leaking?
I prepared and attached another one simple samples (based on your chat samples and my previous forms #7 ), you may want (or may not) include them as samples in your project in the future.
This time without controls at all.
I moved the operational part to separate classes to minimize code size in the main form module.
There are 3 projects:
If you try to send several packets (using project # 3, or bunch of # 1 + # 2), you will see, that ports are get occupied with status "Time Wait", which is automatically free by system after ~ 120 sec. However, those should have been instantly free with Socket.Close_ method. Why it doesn't want to?
Thanks a lot for your help.
Attachment: https://dragokas.com/temp/Socket-samples.zip (can't attach for some reason).
The text was updated successfully, but these errors were encountered: