摘要 |
The invention discloses a method which realizes the communication between a server and a client in the network short message(NSM) service. A NSM server receives the login of the client, which declares the own user name and the acceptable information title when logging in. Other application programs can send out information to the NSM server, and the information indicts the receiver and the title. The NSM server can instantly transmit the information to the proper client. When the NSM server transmits the information, the network protocol packet source address of the information, which is obtained from the network transmission protocol, is attached. Different titles represent different applications, and the NSM server can serve for the different applications at the same time. Adopting the NSM server of the invention can realize the direct communication (P2P) among the clients. The both parties of the communication do not need other facilities and processes which are specially used to build the P2P, and the both parties of the communication also do not need to care the network addresses thereof, thereby dispensing with the course to inquire a third party the network address of the own party or the opposite party. The communication process is simple and effective. |