Introduction - If you have any usage issues, please Google them yourself
Using two threads, a thread implementation timing to read data the server, another thread implementation regularly send text messages. So that it can realize the function of text messages sent automatically.