C# .NET Web Developer's Guide

The following Frequently Asked Questions, answered by the authors of this book, are designed to both measure your understanding of the concepts presented in this chapter and to assist you with real-life implementation of these concepts. To have your questions about this chapter answered by the author, browse to www.syngress.com/solutions and click on the Ask the Author form.
| Q. | What is TCP and how does is work? | |
| A. | Today, most networks use the Internet Protocol (IP) on the network protocol layer. IP is an unreliable data packet (datagram) delivery service where the delivery and order of packets is not guaranteed (best-effort). The Transmission Control Protocol (TCP) is designed to address this problem it guarantees reliability. If packets are lost, TCP can resend them. If the order of packets is not correct, TCP can put them in the right order. On the other hand, TCP is stream-oriented, that is, you can read your data byte-by-byte. Finally, TCP is connection-oriented, that is, a client opens a connection to a server, communicates with the server, and after finishing, it closes the connection. | |
| Q. | What is UDP and how does it work? | |
| A. | The User Datagram Protocol (UDP) provides an unreliable datagram-oriented protocol on top of IP. The delivery and order of datagrams are not guaranteed. It is connection-less, that is, a UDP application does not have to connect explicitly to another. Datagrams are simply sent or received. | |
| Q. | What is multicasting? | |
| A. |