Section 23.11. Wrap-Up


23.11. Wrap-Up

In this chapter, we presented both connection-oriented and connectionless networking techniques. You learned that the Internet is an "unreliable" network that simply transmits packets of data. We discussed two protocols for transmitting packets over the Internetthe Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP). You learned that TCP is a connection-oriented communication protocol that guarantees sent packets will arrive at the intended receiver undamaged and in the correct sequence. You also learned that UDP is typically used in certain types of performance-oriented applications because it incurs minimum overhead for communicating between applications. We presented some of .NET's capabilities for implementing communications with TCP and UDP. We showed how to create a simple client/server chat application using stream sockets. We then showed how to send datagrams between a client and a server. You also saw a multithreaded Tic-Tac-Toe server that allows two clients to connect simultaneously to the server and play Tic-Tac-Toe against one another. We presented the new WebBrowser class, which allows you to add Web browsing capabilities to your Windows applications. Finally, we demonstrated .NET remoting, a technology that allows a client application to remotely access the properties and methods of an object instantiated by a server application. In Chapter 24, Data Structures, you will learn about dynamic data structures that can grow or shrink at execution time.



Visual BasicR 2005 for Programmers. DeitelR Developer Series
Visual Basic 2005 for Programmers (2nd Edition)
ISBN: 013225140X
EAN: 2147483647
Year: 2004
Pages: 435

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