Client, server, chat programs
2016-08-23
0 0 0
no vote
Other
Earn points
Completes the logon, group chat, private chat, exiting the room, view function room members.
1. create a socket, and establish a connection with the server;
2. users log on the client, the server adds a member to the chat room;
3. After entering the chat room, create a multithreaded client a, room members can choose to group chat, private chat room, view, exit the chat room member functions such as client will select a flag to send to the server, server according to flag threads received corresponding information returned to the client;
4. create a multithreaded client b, and constantly Refresh displays the contents sent by the server.
1. create a socket, and establish a connection with the server;
2. users log on the client, the server adds a member to the chat room;
3. After entering the chat room, create a multithreaded client a, room members can choose to group chat, private chat room, view, exit the chat room member functions such as client will select a flag to send to the server, server according to flag threads received corresponding information returned to the client;
4. create a multithreaded client b, and constantly Refresh displays the contents sent by the server.
c++
客户端
程序
服务器
聊天
实现
Related Source Codes
Local Path Planning Algorithm - DWA Algorithm
0
0
no vote
enDAQ-Shock-Data-Share-SRS-Blog
0
0
no vote
Calling chatGPT in a Windows application
0
0
no vote
Test Hello world
0
0
no vote
RCS calculation by one-way ray tracing
0
0
no vote
No comment