3. Namespace used
System. NET, System. NET. Socket, System. System. Threading
Http://msdn.microsoft.com/library/chs/default.asp? Url =/library/CHS/cpref/html/frlrfSystemWindowsFormsProgressBarClassTopic. asp
Http://msdn.microsoft.com/library/chs/default.asp? Url =/library/CHS/cpref/html/frlrfSystemWindowsFormsProgressBarClassTopic. asp
Http://msdn.microsoft.com/library/chs/default.asp? Url =/library/CHS/cpref/html/frlrfSystemWindowsFormsProgressBarClassTopic. asp
(For details, refer to MSDN)
4. Design principles
1. Server: accept connection module and accept Information Module
When a server program is started, a thread is started to listen to the connection signal. If the thread that receives the connection signal is started immediately, two threads are running, the listening connection signal determines whether to start or stop the thread that receives information based on the client information.
2. Client: Send connection request module and send information module
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.