Summary


This chapter introduced the basics of creating a connection-oriented server socket that handles client requests . It also discussed the importance of socket security for servers and gave an introduction to the asynchronous Socket methods . Server sockets should always set the ExclusiveAddressUse option to ensure that no other socket can bind to the same interface. Also, robust servers should use asynchronous I/O to efficiently use resources. We also saw that asynchronous socket I/O is not much more difficult than blocking I/O. The next chapter will introduce the .NET Framework classes that deal with the HTTP protocol, and in Chapter 14, well discuss what can be done to ensure high performance with .NET Frameworkbased networking.




Network Programming for the Microsoft. NET Framework
Network Programming for the MicrosoftВ® .NET Framework (Pro-Developer)
ISBN: 073561959X
EAN: 2147483647
Year: 2003
Pages: 121

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net