Network programming in .NET is a new release from Elsevier Digital Press, and is available now at all good computer bookshops. The book is a complete introduction to developing network programs in both C# and VB.NET. It includes chapters on the fundamentals of network programming, TCP and UDP sockets, multicasting, HTTP and SMTP, Remoting, and Web services. Not only that, but it also covers rare, and hard-to-find practical information on Telephony, Packet capture, MSMQ, and IPv6. Whether you’re a professional network programmer, or just want to see what’s possible, you’ll find that .NET Network Programming is a complete guide to the capabilities of networking in the .NET framework.
What you’ll learn from this book:
Network programming fundamentals, TCP & UDP.
Enabling you to send and receive files and messages over IP. Using either of the two main Internet protocols, TCP (Transmission control Protocol) or UDP (User datagram protocol). Source code is given to implement file transfer applications, along with rudimentary Instant-Messenger style applications. Examples are given in both C# and vb.net, and provide both socket level and TcpClient / TcpListener (and UdpClient) level options for implementation.
An in-depth look at HTTP clients & servers. Taking a hands-on approach to HTTP, this chapter provides examples on how to request data from web servers programmatically, using native .NET classes such as HttpWebRequest and HttpWebResponse. The examples provide information on including POST headers, Cookies, referrers etc., into your HTTP requests to retrieve data from dynamic pages on remote webservers. The chapter also provides a wealth of information in embedding Internet Explorer in your .NET applications, which can be used to provide greatly simplified HTML extraction through direct access to Internet Explorers' DOM (document object model) using the HTMLDocument interface. Also included in the chapter is an example of a multithreaded web server, with support for Mime types, expandable to support ASP.NET pages with the "System.Web.Hosting" namespaces' CreateApplicationHost and HttpWorkerRequest classes.
How to send and receive email, via SMTP, POP3, and the MAPI.
In Chapter 5, The SMTP (RFC 821) protocol and POP3 (RFC 1939) protocol are detailed, and socket level implementations are given. However, higher level descriptions are also provided, such as those using the "System.Web.Mail" namespace's MailMessage class. This class leverages Microsoft's CDOSYS architecture, to provide added performance, and functionality, such as attachments and inline images. The high-level alternative to POP3 is the MAPI, (Office automation), this automates the operation of Microsoft Outlook, exposing the full functionality of the product, including utilities such as the address book etc. Also included in the chapter is a description of the IMAP (used for email, but quite rare) and NNTP (news / usenet). Included in a later chapter is a description on how to implement DNS MX (Mail exchange) which enables you to determine the associated SMTP/POP3 server of any given email address, providing a means to automatically discover the outgoing SMTP server address, or bypass a local SMTP server
_______________________________________________
Want to get-on Google's first page and loads of traffic to your website? Hire a SEO specialist from Ocean Groups
seo specialist