Datagram socket

From Wikipedia, the free encyclopedia
Jump to: navigation, search

A datagram socket is a type of connectionless network socket, which is the point for sending or receiving of packet delivery services.[1] Each packet sent or received on a datagram socket is individually addressed and routed. Multiple packets sent from one machine to another may arrive in any order and might not arrive at the receiving computer.

UDP broadcasts sends 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.

References[edit]

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

See also[edit]