How to use "addressing" in a sentence

Sentences

"All right," Elliot said, addressing the two men

'If you want to preserve your incognito,' said Holmes smiling, 'then you should not write your name on the inside of your hat, or else you should turn the inside of your hat away from the person whom you are addressing.'