The Windows socket type is defined as SOCKET.
commitc9e6c3d70f837755c3ea66700ff70f61d1e18015
authorbillsegall <bill@segall.net>
Wed, 16 Dec 2015 01:17:36 +0000 (16 11:17 +1000)
committerbillsegall <bill@segall.net>
Wed, 16 Dec 2015 01:17:36 +0000 (16 11:17 +1000)
treeb0bf155db0d781ee89027dd42b2741312ca0ac28
parent1c17cfdd2bea34089f303a2dcbcb05fcacf46cd6
The Windows socket type is defined as SOCKET.

Under the hood it's an unsigned rather than a signed type and whilst C
compilers are largely happy with this C++ compilers tend to be fussy
about class function signatures which makes C++ usage of libevent
problematic.
include/event2/util.h