ISelector.select

Wait for I/O events from the registered conduits for a specified amount of time.

  1. int select()
  2. int select(TimeSpan timeout)
    interface ISelector
    abstract
    int
    select
  3. int select(double timeout)

Parameters

timeout TimeSpan

TimeSpan with the maximum amount of time that the selector will wait for events from the conduits; the amount of time is relative to the current system time (i.e. just the number of milliseconds that the selector has to wait for the events).

Return Value

Type: int

The amount of conduits that have received events; 0 if no conduits have received events within the specified timeout.

Meta