beginning of the implementation of sending TCP message.