Abstract
In this chapter you looked at the .NET Framework class library facilities for networking. You learned how to use the WebClient class to retrieve data from HTTP servers, how to use the TcpListener, TcpClient, and UdpClient classes to perform connection-oriented and connectionless networking, how to use the Dns class to retrieve DNS information, and how to use the HttpListener class to create a simple web server.
You also took a quick tour of the Windows Communications Foundation, which supports C# object and value semantics across networks—something that requires a little more work, but makes the resulting program more robust and natural to work with.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2010 Adam Freeman
About this chapter
Cite this chapter
Freeman, A. (2010). Networking & WCF. In: Introducing Visual C# 2010. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-3172-1_21
Download citation
DOI: https://doi.org/10.1007/978-1-4302-3172-1_21
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-3171-4
Online ISBN: 978-1-4302-3172-1
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)