/* * Set the maximum send window size. This allows specifying of the * bandwidth used by the client. Low bandwidth connections need * a smaller send window size. */ static VALUE client_set_max_sendwindow(VALUE self, VALUE amount) { IrmoClient *client = unwrap_client(self); irmo_client_set_max_sendwindow(client, NUM2INT(amount)); return Qnil; }