Chinese (People's Republic of China)  English  Français


Supinfo-Projects.com
Supinfo Students' projects



Projects
  Last project
  Top projects
  All projects

119 User's online
3168 Projects


My Supinfo-Projects

   Login
   Create account


Synopsis

   7 Hits
   Visitors Score : 19
    (2 Voter)
   1 Comments

   Read the article

Evaluate this article

20
18
16
14
12
10
8
6
4
2
0


Comment this article

Author :

Email :

Your comment :



 
2006 - Pérennisation
TCP Client Server programming using TCP with C# .NET2
[20 mn of reading - published 6/3/2006 6:29:38 PM - Target : Confirmé]

Author

THGThomas BONNET
Student-Engineer Supinfo Paris
SUPINFO graduate year  2007

   Write to the person
   All projects of the same author
   Mini-CV of the author

Conclusion

This article has described the principle of programming a client and a server application using the TCP protocol.

Using a Thread per connection allows us to accept hundreds of connections simultaneously, but could be unstable over.

If you have to accept a higher connection amount, you should multiplex connection classes on a small amount of threads or use asynchronous connection and treatment methods.

Sources

Microsoft Visual Studio 2005 documentation (Oct. 2005)

Code of the client and server software used to illustrate this article can be downloaded at this location: http://www.gwada.biz/messenger_full_src.zip

Download the latest version of the source code and the executable at http://www.gwada.biz/messenger

 



Articles de la même catégorie

 Pages : Top


7 Hits
0 Comments
JMX
[20 mn of reading - published 6/3/2006 6:19:21 PM - Target : Expert]

More


12 Hits
0 Comments
What is Web 2.0?
[30 mn of reading - published 6/3/2006 5:43:53 PM - Target : Confirmé]

More


20 Hits
0 Comments
Web 2.0
[30 mn of reading - published 6/3/2006 5:42:02 PM - Target : Confirmé]

More

Powered by Campus-Booster Technology
Conditions d'utilisation & Copyright | Respect de la vie privée
© Copyright 1965-2006 Supinfo Paris, Paris Academy of Computer Science
Supinfo, Ecole Supérieure d'Informatique et Paris Academy Of Computer Science are trade marks.
23, rue de Château LANDON - 75010 PARIS - Phone : +33 (0) 153359 700 Fax : +33 (0) 153359 701

Web site autided by :