Introduction to UDP

The exchange of data in the world of computers primarily involves two computers that send and receive data to and from each other. This data exchange can happen as a one-time send operation or a simultaneous exchange of data. In either case, the Transport layer protocols such as TCP and UDP, specified by the TCP/IP reference model, come into the picture. TCP is used to transfer IP datagrams among host computers. TCP transfers data as streams to destination computers based on the computer’s IP address. Unlike TCP, the User Datagram Protocol (UDP) does not send data as a stream of bytes. In addition, this protocol does not establish a connection with another application to exchange information. Applications using UDP ...

Get Special Edition Using TCP/IP, 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.