WinSock 2.0 is sold out. A second edition is scheduled to be released next year.
www.bServer.com will always have the latest information.
The publisher, IDG Books.
Barnes and Noble
Microsoft Windows clearly dominates the desktop PC market. The number of people connected to the global Internet continues to grow exponentially. The Windows Sockets (WinSock) API is the point where these two extraordinary technologies connect. That’s enough to make WinSock one of the most important programming interfaces developed this decade. But now, WinSock is more than that. With the introduction of version 2, and the additional capabilities it provides, WinSock promises to become the de facto standard for developing Windows network applications.
Developing Network Applications for Windows
Don't be misled by the book's title--it says "WinSock 2," , but since WinSock 2 encompasses all of the WinSock 1.1 API, you'll find what you need here to develop applications for either version. More importantly, the book shows you how to develop applications that work on both API sets, so that your code runs on as many WinSock implementations as possible.
Even though WinSock 2 is only available for Windows 95 and Windows NT 4, the WinSock 1.1 sample programs developed in this book will run on both16-bit and 32-bit Windows platforms. The WinSock 2 sample programs that are created in the last section of the book require Windows 95 or Windows NT 4.
This book is for anyone who wants to write any kind of network program for Windows. In the past, WinSock has been restricted to programming for TCP/IP networks. But this isn’t your father’s WinSock. WinSock 2 allows you to use the familiar socket interface to simultaneously access any number of installed transport protocols. So WinSock ain’t just for TCP/IP anymore. It’s well on its way to becoming the standard API for any type of network access from Windows.
I don’t assume that you have any prior knowledge of WinSock or network programming. Even if you’re not sure just exactly what WinSock is, you won't be overly challenged by the text and examples as long as you are familiar with C and Windows programming.
Even if you are a WinSock veteran, you’ll find useful information here--particularly in Part IV where the new functionality in WinSock 2 is discussed. I’ve also included tips and tricks that make WinSock programming easier, and documentation for some of the lesser-known, private interfaces.
WinSock Development Resources
The CD is packed with information related to WinSock programming. All of the latest WinSock specification documents are included, as well a complete set of RFC documents. That means RFC 1 (dated 4/7/1969) through RFC 2097 (dated 1/30/1997)
The sample programs include POP3 and SMTP clients, a general purpose TCP terminal, Ping and TraceRoute utilities (using both RAW sockets and Microsoft’s proprietary ICMP API), a fully-functioning Web server and protocol independent client and server applications.
The included SocketAdapter library makes it easy to discover — at runtime — what version of WinSock is installed and select the newest library. SocketAdapter applications can use the enhanced functionality available in WinSock 2 if it’s installed, yet still run using only WinSock 1.1 functions if it’s not. By using this library, a program can be not only protocol independent, but WinSock version independent as well.
Organization of This Book
The book is divided into four sections.
Part I - Introduction to Sockets
The first three chapters of the book efficiently summarize the necessary background information on networking in general and TCP/IP specifically. It also introduces the sockets programming model. Topics included are
Part II - The WinSock 1.1 API
Part II covers the portion of the API that is available in both versions 1.1 and 2 of WinSock. You'll find extensive coverage of the following topics:
Part III - WinSock 2 API
The third section of the book is devoted to the functions, data structures, and strategies that are only available in version 2 of WinSock and therefore only available on Windows 95 and Windows NT 4. You'll explore the following:
Part IV - Sample Applications
Part IV contains several complete, working example programs. It's here that you'll see demonstrated the key ideas developed in earlier sections of the book. I offer the following applications: