Datagram socket

In computer operating systems, a datagram socket is a type of interprocess communications socket or network socket which provides a connectionless point for sending or receiving data packets.[1] Each packet sent or received on a datagram socket is individually addressed and routed. Order and reliability are not guaranteed with datagram sockets, so multiple packets sent from one machine or process to another may arrive in any order or might not arrive at all.

The sending of UDP broadcasts on a network are always enabled on a datagram socket. In order to receive broadcast packets, a datagram socket should be bound to the wildcard address. Broadcast packets may also be received when a datagram socket is bound to a more specific address.

See also

References

  1. V. S. Bagad, I. A. Dhotre (2008), Computer Networks (5th revised edition, 2010 ed.), Technical Publications Pune, p. 52

See also


This article is issued from Wikipedia - version of the 4/25/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.