Select throwing error WSAENOTSOCK
<p><strong>ISSUE THAT I AM FACING</strong>:-</p>

<p>Select(..) API is throwing error when called with FD_SET set containing  IPv6 and IPv4 sockets on Win7 Home premium but the same application is running fine on other win7 machine. But if i use only IPv6 or IPv4 socket in FD_SET then it runs fine. So i think, system support both IPv6 and IPv4.</p>

<p>I tried using the server from the link below :-</p>

<p><a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms738639%28v=vs.85%29.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/windows/desktop/ms738639%28v=vs.85%29.aspx</a></p>

<p>Even this sample is same error from select call.</p>

<p>Anyone can please help me in getting the reason behind this error and solving this issue.</p>

<p>Thanks!!!</p>
