<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It seems there are some issues with compiling the latest changes for IPV6 in the groupsock library with MSVC. The issue is with the call to setsockopt, specifically, argument 4 for MSVC is expecting a <span style="background-color:rgb(255, 255, 255);display:inline !important">'const
char *' but is being provided a </span>'const int *'/<span style="background-color:rgb(255, 255, 255);display:inline !important">'const void *'</span>. I see you are casting arg 4 to '<span style="margin:0px;background-color:rgb(255, 255, 255);display:inline !important">const
char *' in other places you use <span style="background-color:rgb(255, 255, 255);display:inline !important">setsockopt so I was wondering if you could keep that consistent.</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The casting issue occurs on the following lines:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
GroupsockHelper.cpp(183): error C2664: 'int setsockopt(SOCKET,int,int,const char *,int)': cannot convert argument 4 from 'const int *' to 'const char *'
<div>GroupsockHelper.cpp(354): error C2664: 'int setsockopt(SOCKET,int,int,const char *,int)': cannot convert argument 4 from 'const int *' to 'const char *'</div>
<div>GroupsockHelper.cpp(600): error C2664: 'int setsockopt(SOCKET,int,int,const char *,int)': cannot convert argument 4 from 'const void *' to 'const char *'</div>
<div>GroupsockHelper.cpp(653): error C2664: 'int setsockopt(SOCKET,int,int,const char *,int)': cannot convert argument 4 from 'const void *' to 'const char *'</div>
<div><br>
</div>
<div>Thank you,</div>
<div><br>
</div>
<div>Josh</div>
</div>
</body>
</html>