Short answer: whatever works and gets the message across. Ignore any 'rules' you see out there. I've used individual lines separated by beats and also a whole block of dialogue with '...' to indicate listening to the other person. I usually use the latter when the character is struggling to get a word in or isn't paying attention but like I said, all that matters is that you're clear to the reader as to what's going on.