Jump to content

Datagram socket

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 76.10.162.85 (talk) at 19:44, 26 February 2008. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Datagram socket is a type of Internet socket, which is the sending or receiving point for packet delivery services. 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.

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. Broadcasted packets may also be received when a Datagram Socket is bound to a more specific address.