((1) The curriculum design command gives a relatively basic request. The experimenter should explore the potential needs of the command according to the command request. To this end, designers can first consider themselves as users: what does this chat program need to do? For example, you can display chat records; You must be able to set the reply content in the automatic reply function (or you can preset multiple replies, and select the content to reply as required); When you leave temporarily, you can set a simple message function and tell the other party to leave a message. This step should be the most innovative work, encouraging experimenters to think creatively when they end their basic needs and imagine new chat needs. (2) According to the work in the previous step, the function design of the chat program should be terminated. For example, in the future when the chat program runs, it should have the function of setting the IP address and port number of the other party, and it should have the function of selecting the underlying protocol: whether to use UDP or TCP protocol for communication. If you use TCP, you should also set a connection function. When the other party's information arrives, you should prompt the chater. In this step, it is necessary to determine how the program will be used in the future.)