Description: windows网络模型之WSAAsyncSelect 实现的聊天程序 服务器负责记录上线下线人数并通知客户端,可以发离线消息-windows network model of WSAAsyncSelect achieved chat server is responsible for recording the number of on-line off the assembly line and notify the client, it can offline message Platform: |
Size: 66560 |
Author:wake |
Hits:
Description: XTALK程序的网络版本。XTALK程序是一个简单的群体聊天工具,一个客户端发言后,他的内容会通过服务器广播到其它所有的客户端。改程序的网络部分主要使用了WSAAsyncSelect函数-The network version of XTALK procedures. XTALK procedure is a simple group chat tool. When a client speaks, his content will be broadcast through the server to all other clients. Network to process some of the main function used WSAAsyncSelect Platform: |
Size: 115712 |
Author:fang |
Hits:
Description: 利用WSAAsyncSelect 模型开发局域网聊天程序,该程序包括服务器端和客户端两部分。服务器主要包括用户状态设计,数据包设计,界面设计等部分。主要功能包括启动服务,接受客户端请求,接受数据,处理数据,删除用户,用户离线和退出部分。客户端包括接受服务器数据,显示离线消息,创建聊天窗口,在线聊天,发送离线消息,被动聊天和保存聊天记录部分。-WSAAsyncSelect model development using local area network chat program, the program includes server-side and client-side in two parts. The server includes a user state of design, data package design, interface design and some other. Key features include start the service, to accept client requests and accept data, process data, delete user, offline and out of parts. Clients including access to server data, display offline messages, create chat window, online chat, to send offline messages, chat, and save your chats a passive part. Platform: |
Size: 64512 |
Author:WANGTAO |
Hits:
Description: 1.其中基于UDP做的聊天室,利用UDP广播,只需在局域网里启动exe即可工作,无需服务器端。开发思想:在“上线”后启动一个线程循环recv接受广播来的信息。"send"按钮广播信息。
2.基于TCP的聊天室。采用了WSAAsyncSelect无阻塞消息模式。先启动服务ChatRoomServer.exe
在启动server后,服务器端listen来自客户端的信息,当客户端connection后,服务器端accpet与客户端建立连接后触发消息函数 OnServerAccept。OnServerAccept再次利用WSAAsyncSelect函数判断并接受recv客户端发来的信息并广播,以达到聊天室的效果。-1. Which do UDP-based chat rooms, use of UDP broadcasts, simply start the exe in the LAN where you can work without the need for server-side. Development of thought: in the " on line" start a thread loop to recv receiving broadcast information. " send" button to broadcast information. 2. TCP-based chat rooms. WSAAsyncSelect using non-blocking message mode. First start the service ChatRoomServer.exe start server, the server-side listen to the information from the client side, when a client connection, the server-side accpet the client to establish a connection with the trigger message function OnServerAccept. OnServerAccept reuse WSAAsyncSelect and accept the recv function is to determine the client sent the information and broadcasting, in order to achieve the effect of chat rooms. Platform: |
Size: 1856512 |
Author:zhuceyong |
Hits:
Description: 基于 异步选择模型的聊天程序,简单实现服务器和客户端的对话-Select model based on asynchronous chat program, simple implementation of server and client dialogue Platform: |
Size: 3780608 |
Author:liurushuai |
Hits:
Description: 基于TCP的聊天室。采用了WSAAsyncSelect无阻塞消息模式。先启动服务ChatRoomServer.exe
在启动server后,服务器端listen来自客户端的信息,当客户端connection后,服务器端accpet与客户端建立连接后触发消息函数 OnServerAccept。OnServerAccept再次利用WSAAsyncSelect函数判断并接受recv客户端发来的信息并广播,以达到聊天室的效果-TCP-based chat room. WSAAsyncSelect message mode using non-blocking. Service ChatRoomServer.exe first start after the boot server, the server-side information from the client listen, when a client connection, the server-side accpet to establish connection with the client to trigger a message function OnServerAccept. OnServerAccept reuse WSAAsyncSelect recv function to judge and accept the client sent information and broadcasting, in order to achieve the effect of chat rooms Platform: |
Size: 87040 |
Author:韩静 |
Hits:
Description: 利用WSAAsyncSelect模型开发局域网简易聊天程序。有很好的借鉴,很值得细细研究学习。-WSAAsyncSelect model developed using simple LAN chat program. Have a good reference, it is worth of studying thin. Platform: |
Size: 3824640 |
Author:zhangbo |
Hits:
Description: 编写一个带图形用户界面的聊天程序,要求使用WSAAsyncSelect模型实现异步通信。-Write a graphical user interface with a chat program, requires the use of asynchronous communication WSAAsyncSelect model. Platform: |
Size: 12288 |
Author:cnwst |
Hits:
Description: 一个用winsock api实现的简单的聊天室,使用WSAAsyncSelect实现套接字的异步操作,分有服务器端和客户端,客户端连接到服务器端,服务器端广播客户端的发言到所有连接上的客户端,该源码使用vs2008编写,很适合初学者学习winsock api应用。-Using winsock api to achieve a simple chat room using WSAAsyncSelect achieve asynchronous socket operations, divided into server and client, the client connects to the server side, server-side client' s speech broadcast to all connected clients, The source code written using vs2008, it is suitable for beginners to learn winsock api applications. Platform: |
Size: 24194048 |
Author:York |
Hits:
Description: 自己写的,用WSAAsyncSelect写的异步消息机制socket,LAN间聊天和传输大文件,多线程-Write your own, with the WSAAsyncSelect write asynchronous messaging socket, between LAN chat and transfer large files, multi-threaded Platform: |
Size: 6144 |
Author:yzt |
Hits: