1. thdPrintConnection() 2. thdPrintDomain()