Divide the two halves you want to connect between two straight needles (or the ends of the circular, as long as the fronts are facing), doesn't matter, really,

you're only using one end. With a third needle you do the bind-off. I usually use a needle one size larger to knit the bind off with.