Message125969
ssl_sock_fd_int.patch: add SOCKET_T_AS_INT(fd) macro to cast a socket descriptor (SOCKET_T) to int. I choosed a macro just to not have to repeat a comment twice :-)
It looks like it is a safe to cast SOCKET_T to int. My comment:
/* On Windows, SOCKET_T is an offset in per-process handle table.
The per-process limit on kernel handles is 2^24. Kernel Objects:
http://msdn.microsoft.com/en-us/library/ms724485%28VS.85%29.aspx
*/ |
|
Date |
User |
Action |
Args |
2011-01-11 00:48:43 | vstinner | set | recipients:
+ vstinner, loewis, amaury.forgeotdarc, pitrou, schmir, brian.curtin, janglin |
2011-01-11 00:48:43 | vstinner | set | messageid: <1294706923.01.0.477412408219.issue9566@psf.upfronthosting.co.za> |
2011-01-11 00:48:39 | vstinner | link | issue9566 messages |
2011-01-11 00:48:39 | vstinner | create | |
|