public virtual int SetReadTimeout(int timeout) { if (timeout > 0) { throw RubyExceptions.CreateEBADF(); } return 0; }