Re: Sockets on Windows (and DuplicateHandle, CloseHandle)
- Date: Tue, 03 Feb 2015 20:43:08 +0800
- From: Fan Chun-wei <fanc999@xxxxxxxxxxxx>
- Subject: Re: Sockets on Windows (and DuplicateHandle, CloseHandle)
(Sorry, resending as e-mail was accidently not sent to the list)
Few of my quick thoughts...
I don't think so. Saw this thread with this quick search:
What I want to know:
- are LSPs the only reason that I can't use CloseHandle and
socket handles (ie: if there are no LSPs around, will everything be
The MSDN documentation explicitly states that one should not use
CloseHandle/DuplicateHandle on sockets, due to internal resource
They could be used in parental control programs (it is done as a LSP
Vista's and 7's parental controls) and anti-virus/anti-malware programs
as well, such as in older Avira and Sophos, so could be widespread.
- how common are LSPs in practice?
For the last 2 questions, need to look further, but this is what I can
find out at this point.
gtk-devel-list mailing list