title: Error while calling Select() in UDP sockets
body: <p>I am doing socket programming (UDP sockets) in Windows Form application. I want to use select().</p>
  
  <p>socket() is called on button click, select() is called in different thread and socket descriptor is declared global.</p>
  
  <p>Below is my part of code regarding select:</p>
  
  <pre><code>    fd_set fds;
      struct timeval tv;
      tv.tv_sec = 1;
      tv.tv_usec = 500000;
      FD_ZERO(&amp;fds);
      FD_SET(s_8888, &amp;fds);
      int n=s_8888;  //s_8888 is socket descriptor
      select (n+1, &amp;fds, 0 , 0 , &amp;tv );
  </code></pre>
  
  <p>When I compile my code I am getting error below</p>
  
  <pre><code>error C2064: term does not evaluate to a function taking 5 arguments    
  </code></pre>
  
  <p>I am unable to understand where I have done wrong.</p>