add both bitdict and selected args to connect_rd/wrport