First of all, please look this question to understand what I mentioned.
When I try socket close in windows OS for unreachable IP with UDP, I got the three-second delay.
As you can see from the results there is the three-second delay in Windows OS. But there is no delay in Ubuntu namely problem is related Windows Operating System. How to decrease the three-second delay to the zero?
Windows Socket Close Time for Unreachable IP(with UDP): 3 seconds
Ubuntu Socket Close Time for Unreachable IP(with UDP): 0 Second
Thanks in advance...