23.3. Protocols for Transporting Data

There are many protocols for communicating between applications.Protocols are sets of rules that govern how two entities interact. In this chapter, we focus on the Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP). .NET’s TCP and UDP networking capabilities are defined in the System.Net.Sockets namespace.

The Transmission Control Protocol (TCP) is a connection-oriented communication protocol which guarantees that sent packets will arrive at the intended recipient undamaged and in the correct sequence. TCP allows protocols like HTTP (Chapter 21) to send information across a network as simply and reliably as writing to a file on a local computer. If packets of information don’t arrive ...

Get Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.