console messages for sending through sockets.