By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,978 Members | 1,362 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,978 IT Pros & Developers. It's quick & easy.

Looking for books / references for Network programming using mutlithreading

P: n/a
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
Mar 30 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hello, Dan!

For server examples you can look at
(http://msdn.microsoft.com/library/de...ogthrepool.asp )
( http://msdn.microsoft.com/msdnmag/is...s/default.aspx )

For UDP usage examples you can look at

( http://msdn.microsoft.com/msdnmag/is...P/default.aspx )

Hope, this will help.
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Mar 31 '06 #2

P: n/a
Thank you! These links were quite helpful.

Dan
"Vadym Stetsyak" <va*****@ukr.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello, Dan!

For server examples you can look at
(http://msdn.microsoft.com/library/de...ogthrepool.asp
)
(
http://msdn.microsoft.com/msdnmag/is...s/default.aspx )

For UDP usage examples you can look at

( http://msdn.microsoft.com/msdnmag/is...P/default.aspx )

Hope, this will help.
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com

Apr 3 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.