Socket-based multi-threaded chat room
2016-08-23
1 0 0
4.0
Other
Earn points
&Nbsp; a C/S architecture, establishing how to implement client-server. &Nbsp; server-side with socket binding host IP, waits for a client to connect. &Nbsp; Server clients open up a thread for each connection. &Nbsp; notice there is now a chat room client, XXX online. &Nbsp; forwarding messages sent to all clients of the server. &Nbsp; client has established two threads, one for receiving messages, one for sending messages. &Nbsp; the thread receiving messages is also responsible for saving a message to a file, for when the next login browse chat history.
c
socket
线程
基于
聊天室
Related Source Codes
PClite
0
0
no vote
generic embeded FTP Client
0
0
no vote
UDP Test Demo
0
0
no vote
TMS320F28335 DSP transmits data to EEPROM through
0
0
no vote
TMS320F28335 CAN communication source code
0
0
no vote
No comment