예제 #1
0
 /// <summary>
 /// Call <c>select()</c> on the Easy objects.
 /// </summary>
 /// <param name="timeoutMillis">
 /// The timeout for the internal <c>select()</c> call,
 /// in milliseconds.
 /// </param>
 /// <returns>
 /// Number or <see cref="Easy"/> objects with pending reads.
 /// </returns>
 /// <exception cref="System.NullReferenceException">
 /// This is thrown if the native <c>Multi</c> handle wasn't
 /// created successfully.
 /// </exception>
 public int Select(int timeoutMillis)
 {
     EnsureHandle();
     return(External.curl_shim_select(m_maxFD + 1,
                                      m_fdSets, timeoutMillis));
 }