We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this questionis there a Bible for Sockets programming in .NET that utilizes the 3.0 or later framework? An example of the caliber that I am looking for should be on the level of Concurrent Programming on Windows by Joe Duffy if this were a .NET threading and concurrency question.
C# is my prefered source code book samples but any language on the .NET framework are welcome.
I'm looking for a book, but if there exists a website or blog of similar content, they are welcome too.
I've purchased and read this book:
TCP/IP Sockets in C#: A Practical Guide for Programmers
http://www.amazon.com/TCP-IP-Sockets-Practical-Programmers/dp/0124660517/ref=pd_cp_b_1_img
Its not specific to 3.0, but its a very good book - covers most of what you'd expect to see, and as a beginner to sockets (like I was) it answers the questions you find yourself trying to Google :-)
Shameless self-promotion: I maintain a FAQ on .NET TCP/IP on my blog. It covers things that a lot of books skip over (in particular, proper application protocol design). It doesn't cover things like comparing the three socket APIs (synchronous, async via Begin/End, async via Async) or higher-level APIs (TcpClient
, NetworkStream
, etc).
CPoW is pretty hefty. I doubt there's a .NET sockets book that addresses the subject to that depth (though I haven't read Adam's recommendation). The best resources I've found are just the classic socket books (e.g., Stevens volume 1). Since the Socket
class is almost exactly a 1:1 mapping to WinSock calls, this approach worked quite well for me.
精彩评论