In the winsock headers, the setsockopt() argument is declared as "const char *", not "const void *".
Attach a file by drag & drop or click to upload