On 04/08/2011 09:35 AM, Pieter Hintjens wrote: > Is there any specific reason for not wanting to use proper types for > these? The use of void * seems to go against all best practice in C. > I'm not sure it makes sense in C++ either. POSIX compatibility. Run-time checking (ENOTSOCK) instead of compile-time checking. Martin