Description: The program can be successfully achieved chat rooms- some people (a server and several clients) group chat,
And can achieve the client to the server to upload small files. User-friendly, easy to operate.
The program upload large files, there will be the recipient receives only part of the problem files,
The following analysis of the reasons, non-blocking mode when the file transfer is not well implemented synchronize the sending end and receiving end,
That may stop sending the sender and the recipient a chance to accept or recipient may stop accepting the sender did not send.
Because the program does not always stay nonblocking mode on the send and recv function, we can only judge by their sending and return values
Accept state.
To Search:
File list (Check if you may need any files):
MyChat可实现聊天室和传小文件\a.bmp
............................\Client.cpp
............................\Client.h
............................\MyChat.aps
............................\MyChat.clw
............................\MyChat.cpp
............................\MyChat.dsp
............................\MyChat.dsw
............................\MyChat.h
............................\MyChat.ncb
............................\MyChat.plg
............................\MyChat.rc
............................\MyChatDlg.h
............................\ReadMe.txt
............................\resource.h
............................\Server.cpp
............................\Server.h
............................\StdAfx.cpp
............................\StdAfx.h
............................\代理.txt
............................\res\MyChat.ico
............................\...\MyChat.rc2
............................\res
............................\Debug\MyChat.exe
............................\Debug
............................\MyChatDlg.cpp
............................\MyChat.opt
MyChat可实现聊天室和传小文件