void SetTimeout(const long t)
Set the amount of milli-seconds to wait when there are no notable
conditions on the sockets before returning to t.
unsigned long Wait(GPL_List<DNA_IPMultiplexable> & ready)
Equivalent to calling Wait() with the value previously set with
SetTimeout().
unsigned long Wait(const long t, GPL_List<DNA_IPMultiplexable> & ready)
Check all sockets previously specified with Add() for any
activity as indicated by the flags passed to Add(). Wait at
least t milli-seconds before returning. Upon return, ready
contains any sockets which have notable conditions that are selected by
their associated flags. Returns TRUE if the selection succeeds
and FALSE if it fails.
void Add(SOCKET_HANDLE handle, const unsigned long flags)
Add handle to the list of sockets to be checked for the conditions
specified in flags. If an entry already exists for handle, its
flags are updated with flags.
void Remove(SOCKET_HANDLE handle)
Remove handle from the list of sockets to be checked.