23.7. Connectionless Client/Server Interaction with Datagrams
So far, we have discussed connection-oriented, streams-based transmissions using the TCP protocol to ensure that the packets of data are transmitted reliably. Now we consider connectionless transmission using datagrams and UDP.
Connectionless transmission via datagrams resembles the method by which the postal service carries and delivers mail. Information is bundled and sent in packets called datagrams, which can be thought of as similar to letters sent through the mail. If a large message will not fit in one envelope, it is broken into separate message pieces and placed in separate, sequentially numbered envelopes. All the envelopes are mailed at once. They may arrive in order, out ...
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.