摘 要
即时通信在互联网领域的应用取得了巨大的成功,像腾讯QQ更可谓在国内占尽了风头。鉴于即时通信作为一项有广泛应用价值的技术框架,在逐步适应企业网络、教育网络的应用特点后,局域网即时通信必将取得和电子邮件一样的普及效果。该系统使用.NET作为开发平台、SQL Server2005 数据库存储用户信息和聊天记录,用套接字连接客户端和服务器,用数据包套接字发送消息。本系统采用C/S模式构建,由客户端和服务器端组成。客户端只要填写服务器的IP地址和通信端口号,即可把信息发给目标用户,同时可以查看信息的发送记录。
关键词:即时通讯; C/S; 消息发送; Web Service;
Messaging Server Design and Implementation
ABSTRACT
The field of instant messaging applications on the Internet made a great success, like Tencent QQ more can be said to reap the limelight in the country. In view of IM has been widely used as the value of a technology framework to gradually adapt to the corporate network, education network characteristics of the application, the local network instant messaging and e-mail will get the same universal effect. The system uses. NET as a development platform, SQL Server2005 database to store user information and chat with the client and server socket connection, send a message with a packet socket. The system uses C / S Mode, by the client and server-side component. Long as the client IP address and fill in the server communication port number, you can target the information to the user, and can send the record to view the information.
Keywords: instant messaging; C / S; message; Web Service;