commit | 4c9301a7af42ebc750aed2c162b8cb7e6d5e59fd | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@offspark.com> | Mon Oct 14 16:33:24 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Mon Jul 07 13:44:30 2014 +0200 |
tree | d4b841eca7a75f02441f6ce44424920951178f7d | |
parent | 9ccb2116a79236a3cf1594b6a54d35ae8e14b6fc [diff] |
Convert SOCKET to int to prevent compiler warnings under MSVC. From kernel objects at msdn: Kernel object handles are process specific. That is, a process must either create the object or open an existing object to obtain a kernel object handle. The per-process limit on kernel handles is 2^24. Windows Internals by Russinovich and Solomon as well says that the high bits are zero.