title: How do I call Poll() with this SOCKET?
body: <pre><code>SOCKET server = socket(PF_INET,SOCK_STREAM, 0);  
  bind(server, 7.7.7.7, sizeof(7.7.7.7) );  
  listen(server, 0);
  
  
  server.Poll(1, SelectMode.SelectRead);
  </code></pre>
  
  <blockquote>
    <p>error C2228: left of '.Poll' must have
    class/struct/union type</p>
  </blockquote>
  
  <p>The IP is not the same but the 3 functions work correctly creating a socket that the server can listen to and send data, to the client.  </p>
  
  <p>I would like to poll the client, <a href="https://stackoverflow.com/questions/722240/instantly-detect-client-disconnection-from-server-socket">using this example but in C++</a>.  </p>
  
  <p>Which object or structure can I use here with Poll()? </p>