"While I nodded, nearly napping, suddenly there came a tapping,"
Explanation:
Answer C describes how the narrator was aroused by his unexpected guest's knocking at the door. Therefore, this best supports the idea that the speaker wasn't expecting anyone to come by.