InstantCommunicationSystem

所属分类:ICQ/即时通讯
开发工具:Visual C++
文件大小:3064KB
下载次数:12
上传日期:2010-11-29 09:36:36
上 传 者一平1
说明:  该通信系统主要实现过程为: 开一个线程来监听客服的连接, 一旦有连接就建立一个线程, 然后把获得的客户端socket 保存到全局变量当中, 然后不断地读取客户发过来的消息, 收到以后就广播到所有的客户端socket 当中。客户端只需输入服务器的IP 地址和用户登录的昵称, 连接上就可以通信了, 客户端建立了一个线程专门来接受服务器端发送过来的消息, 然后判断是聊天信息还是用户列表信息, 然后分发。
(The communication system as the main implementation process: open a thread to monitor customer connections, if there is a thread connection, and then get the client socket to the global variables were saved, and then continue to read the customer sent me a message, to close to a future of broadcasting to all clients which socket. Clients only need to enter the server' s IP address and user login nickname, the connection can communicate, the client set up a dedicated thread to accept the message sent from the server, and then determine a list of chat messages, or user information, and then distribute .)

文件列表:
Instant Communication System\即时通讯系统070420113—张海洲.doc (1059328, 2010-11-20)
Instant Communication System\网络编程070420113张海洲\chat\chat.aps (436908, 2009-01-04)
Instant Communication System\网络编程070420113张海洲\chat\chat.clw (1917, 2009-01-04)
Instant Communication System\网络编程070420113张海洲\chat\chat.cpp (2129, 2005-05-10)
Instant Communication System\网络编程070420113张海洲\chat\chat.dsp (4637, 2009-01-01)
Instant Communication System\网络编程070420113张海洲\chat\chat.dsw (533, 2005-05-10)
Instant Communication System\网络编程070420113张海洲\chat\chat.h (1302, 2005-05-10)
Instant Communication System\网络编程070420113张海洲\chat\chat.ncb (222208, 2009-01-04)
Instant Communication System\网络编程070420113张海洲\chat\chat.opt (55808, 2009-01-04)
Instant Communication System\网络编程070420113张海洲\chat\chat.plg (685, 2009-01-04)
Instant Communication System\网络编程070420113张海洲\chat\chat.rc (7530, 2009-01-04)
Instant Communication System\网络编程070420113张海洲\chat\chatDlg.cpp (8248, 2009-01-04)
Instant Communication System\网络编程070420113张海洲\chat\chatDlg.h (1972, 2008-12-30)
Instant Communication System\网络编程070420113张海洲\chat\Debug\chat.exe (610361, 2009-01-04)
Instant Communication System\网络编程070420113张海洲\chat\Debug\chat.obj (14955, 2005-05-12)
Instant Communication System\网络编程070420113张海洲\chat\Debug\chat.pdb (418816, 2009-01-04)
Instant Communication System\网络编程070420113张海洲\chat\Debug\chat.res (417728, 2009-01-04)
Instant Communication System\网络编程070420113张海洲\chat\Debug\chatDlg.obj (46689, 2008-12-30)
Instant Communication System\网络编程070420113张海洲\chat\Debug\login.obj (14161, 2009-01-04)
Instant Communication System\网络编程070420113张海洲\chat\Debug\StdAfx.obj (106420, 2005-05-10)
Instant Communication System\网络编程070420113张海洲\chat\Debug\vc60.pdb (372736, 2009-01-04)
Instant Communication System\网络编程070420113张海洲\chat\login.cpp (1523, 2009-01-04)
Instant Communication System\网络编程070420113张海洲\chat\login.h (1146, 2005-05-10)
Instant Communication System\网络编程070420113张海洲\chat\res\1.bmp (281490, 2008-12-31)
Instant Communication System\网络编程070420113张海洲\chat\res\bitmap5.bmp (129546, 2009-01-01)
Instant Communication System\网络编程070420113张海洲\chat\res\chat.ico (2238, 2008-12-29)
Instant Communication System\网络编程070420113张海洲\chat\res\chat.rc2 (396, 2005-05-10)
Instant Communication System\网络编程070420113张海洲\chat\res\icon1.ico (2238, 2008-12-30)
Instant Communication System\网络编程070420113张海洲\chat\resource.h (1365, 2009-01-01)
Instant Communication System\网络编程070420113张海洲\chat\StdAfx.cpp (206, 2005-05-10)
Instant Communication System\网络编程070420113张海洲\chat\StdAfx.h (1102, 2005-05-10)
Instant Communication System\网络编程070420113张海洲\chatserver\chatserver.aps (439584, 2009-01-04)
Instant Communication System\网络编程070420113张海洲\chatserver\chatserver.clw (2042, 2009-01-04)
Instant Communication System\网络编程070420113张海洲\chatserver\chatserver.cpp (2801, 2009-01-02)
Instant Communication System\网络编程070420113张海洲\chatserver\chatserver.dsp (4877, 2009-01-01)
Instant Communication System\网络编程070420113张海洲\chatserver\chatserver.dsw (543, 2005-05-10)
Instant Communication System\网络编程070420113张海洲\chatserver\chatserver.h (1368, 2005-05-10)
Instant Communication System\网络编程070420113张海洲\chatserver\chatserver.ncb (246784, 2010-11-21)
Instant Communication System\网络编程070420113张海洲\chatserver\chatserver.opt (49664, 2010-11-21)
... ...

近期下载者

相关文件


收藏者