文件名称:ChatRoom
- 所属分类:
- Internet/网络编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 937kb
- 下载次数:
- 0次
- 提 供 者:
- l***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
服务器端通过socket()系统调用创建一个Socket数组后(即设定了接受连接客户的最大数目),与指定的本地端口绑定bind(),就可以在端口进行侦听listen()。如果有客户端连接请求,则在数组中选择一个空Socket,将客户端地址赋给这个Socket。然后登录成功的客户就可以在服务器上聊天了。-Server-side through the socket () system call to create a Socket after the array (that is set to receive the maximum number of connected customers), with a specified local port to bind bind (), will be able to listen on port listen (). If the client has to connect the request, then select an empty array Socket, the client address assigned to the Socket. And then sign in the success of customers can chat on the server.
相关搜索: ChatRoom
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ChatRoom
........\ChatRoomClient
........\..............\ChatRoomClient.aps
........\..............\ChatRoomClient.clw
........\..............\ChatRoomClient.cpp
........\..............\ChatRoomClient.dsp
........\..............\ChatRoomClient.dsw
........\..............\ChatRoomClient.h
........\..............\ChatRoomClient.ncb
........\..............\ChatRoomClient.opt
........\..............\ChatRoomClient.plg
........\..............\ChatRoomClient.rc
........\..............\ChatRoomClientDlg.cpp
........\..............\ChatRoomClientDlg.h
........\..............\ClientSocket.cpp
........\..............\ClientSocket.h
........\..............\ConnectedDlg.cpp
........\..............\ConnectedDlg.h
........\..............\Debug
........\..............\ReadMe.txt
........\..............\res
........\..............\...\ChatRoomClient.rc2
........\..............\resource.h
........\..............\StdAfx.cpp
........\..............\StdAfx.h
........\ChatRoomServer
........\..............\ChatRoomServer.aps
........\..............\ChatRoomServer.clw
........\..............\ChatRoomServer.cpp
........\..............\ChatRoomServer.dsp
........\..............\ChatRoomServer.dsw
........\..............\ChatRoomServer.h
........\..............\ChatRoomServer.ncb
........\..............\ChatRoomServer.opt
........\..............\ChatRoomServer.plg
........\..............\ChatRoomServer.rc
........\..............\ChatRoomServerDlg.cpp
........\..............\ChatRoomServerDlg.h
........\..............\ClientSocket.cpp
........\..............\ClientSocket.h
........\..............\ClientSocketList.cpp
........\..............\ClientSocketList.h
........\..............\Debug
........\..............\ListenSocket.cpp
........\..............\ListenSocket.h
........\..............\ReadMe.txt
........\..............\res
........\..............\...\ChatRoomServer.rc2
........\..............\resource.h
........\..............\StdAfx.cpp
........\..............\StdAfx.h
........\ChatRoomClient
........\..............\ChatRoomClient.aps
........\..............\ChatRoomClient.clw
........\..............\ChatRoomClient.cpp
........\..............\ChatRoomClient.dsp
........\..............\ChatRoomClient.dsw
........\..............\ChatRoomClient.h
........\..............\ChatRoomClient.ncb
........\..............\ChatRoomClient.opt
........\..............\ChatRoomClient.plg
........\..............\ChatRoomClient.rc
........\..............\ChatRoomClientDlg.cpp
........\..............\ChatRoomClientDlg.h
........\..............\ClientSocket.cpp
........\..............\ClientSocket.h
........\..............\ConnectedDlg.cpp
........\..............\ConnectedDlg.h
........\..............\Debug
........\..............\ReadMe.txt
........\..............\res
........\..............\...\ChatRoomClient.rc2
........\..............\resource.h
........\..............\StdAfx.cpp
........\..............\StdAfx.h
........\ChatRoomServer
........\..............\ChatRoomServer.aps
........\..............\ChatRoomServer.clw
........\..............\ChatRoomServer.cpp
........\..............\ChatRoomServer.dsp
........\..............\ChatRoomServer.dsw
........\..............\ChatRoomServer.h
........\..............\ChatRoomServer.ncb
........\..............\ChatRoomServer.opt
........\..............\ChatRoomServer.plg
........\..............\ChatRoomServer.rc
........\..............\ChatRoomServerDlg.cpp
........\..............\ChatRoomServerDlg.h
........\..............\ClientSocket.cpp
........\..............\ClientSocket.h
........\..............\ClientSocketList.cpp
........\..............\ClientSocketList.h
........\..............\Debug
........\..............\ListenSocket.cpp
........\..............\ListenSocket.h
........\..............\ReadMe.txt
........\..............\res
........\..............\...\ChatRoomServer.rc2
........\..............\resource.h
........\..............\StdAfx.cpp
........\..............\StdAfx.h