code: public SettingsPack connectionsLimit(int value) {
          sp.set_int(settings_pack.int_types.connections_limit.swigValue(), value);
          return this;
      }
docs: Sets a global limit on the number of connections opened. The number of
  connections is set to a hard minimum of at least two per torrent, so
  if you set a too low connections limit, and open too many torrents,
  the limit will not be met.
  
  @param value