DescriptionOn its own, C# simplifies network programming. Combine it with the precise instruction found in C# Network Programming, and you'll find that building network applications is easier and quicker than ever.
This book helps newcomers get started with a look at the basics of network programming as they relate to C#, including the language's network classes, the Winsock interface, and DNS resolution. Spend as much time here as you need, then dig into the core topics of the network layer. You'll learn to make sockets connections via TCP and ""connectionless"" connections via UDP. You'll also discover just how much help C# gives you with some of your toughest chores, such as asynchronous socket programming, multithreading, and multicasting.
Network-layer techniques are just a means to an end, of course, and so this book keeps going, providing a series of detailed application-layer programming examples that show you how to work with real protocols and real network environments to build and implement a variety of applications. Use SNMP to manage network devices, SMTP to communicate with remote mail servers, and HTTP to Web-enable your applications. And use classes native to C# to query and modify Active Directory entries.
Rounding it all out is plenty of advanced coverage to push your C# network programming skills to the limit. For example, you'll learn two ways to share application methods across the network: using Web services and remoting. You'll also master the security features intrinsic to C# and .NET--features that stand to benefit all of your programming projects.
Part I: Network Programming Basics.
Chapter 1: The C# Language.
Chapter 2: IP Programming Basics.
Chapter 3: C# Network Programming Classes.
Chapter 4: DNS and C#.
Part II: Network Layer Programing.
Chapter 5: Connection-Oriented Sockets.
Chapter 6: Connectionless Sockets.
Chapter 7: Using The C# Sockets Helper Classes.
Chapter 8: Asynchronous Sockets.
Chapter 9: Using Threads.
Chapter 10: IP Multicasting.
Part III: Application Layer Programming Examples.
Chapter 11: ICMP.
Chapter 12: SNMP.
Chapter 13: SMTP.
Chapter 14: HTTP.
Chapter 15: Active Directory.
Chapter 16: Remoting.
Chapter 17: Security.
Under Downloading and Installing the C# Runtime Package, second paragraph, last word in the last sentence should read dotnetfx.exe
Second half of listing 1.6, first printed line, should read FileAccess.ReadWrite);
2nd para., at the end of the 3rd line ...formats the IP packet use with... , should be ...formats the IP packet used with...
code snippet, in the catch block, in the Console.WriteLine method, there should be a space after Windows 2000 .
Listing 13.2 (11th Line in the code) initialization of mm.CC doesn't have an ending quotation and a semi-colon to end the statement.
Listing 13.4 (codeline 10) missing colon (to indicate inheritance from Form class)