Looking for books / references for Network programming using mutlithreading

  • Thread starter Thread starter Dan Tallent
  • Start date Start date
D

Dan Tallent

I need to design a server application that will handle an unknown number of
clients. (currently 25+) The initial plan was to create a new TCP socket
connection for each client. When the client needed a piece of information,
it would send a request to the server and wait for a response. The
connection would "stay-alive" and would be readily available. If the
connection was lost, the client application would close down. I
realized that in order to serve more than one client at a time, I needed to
use multithreading. I also thought about using UDP with some sort of error
recovery scheme. I could really use some advise on the correct way to
proceed.

I am looking for a great resource (book / website) that can fill in the
gaps.

I have already purchased and read these books:

1. C# Network Programming (Paperback) by Richard Blum

2. TCP/IP Sockets in C#, First Edition : Practical Guide for Programmers
(The Practical Guides) (Paperback)
by David Makofske, Michael J. Donahoo, Kenneth L. Calvert

I was actually disappointed in these books. Neither book gave code that
could be considered product-quality.
The sample code for Threading in the book by Richard Blum is considered not
"thread-safe". It refers to a control on a form from a different thread.
I am told this is incorrect.
The other book "TCP/IP Sockets in C#" does not invest much time in this
topic.


I truly appreciate the effort. Please let me know what I should do to
advance my skills.

Thanks

Dan Tallent
 
Back
Top