Chatting between clients can be unified through the server or directly connected to the clients (the connection channel is maintained by the server).
Please refer to this.
/it/houtaibiancheng/NET-zhuan qu/ 1 1206 . html