Threaded classes for Sending and receiving.