Unix ___domain socket: Difference between revisions

Content deleted Content added
m cr "the"
m cr gr data is generally uncountable in this context
Line 116:
 
The <code>type</code> parameter should be one of following common socket types:<ref name="lpi-p1151"/>
# <code>SOCK_STREAM</code> will create a stream socket. A stream socket provides a reliable, bidirectional, and [[connection-oriented communication]] channel between two processes. For internet ___domain sockets, data areis carried using the [[Transmission Control Protocol]] (TCP).<ref name="lpi-p1151"/>
# <code>SOCK_DGRAM</code> will create a datagram socket.{{efn|A datagram ''socket'' should not be confused with a [[datagram]] [[Network packet|packet]] used in the [[network layer]].<ref name="lpi-p1183">{{cite book
|title=The Linux Programming Interface
Line 124:
|year=2010
|isbn=978-1-59327-220-3
|page=1183}}</ref>}} A datagram socket is [[Connectionless communication|connectionless]] and preserves message boundaries. For internet ___domain sockets, data areis carried using the [[User Datagram Protocol]] (UDP).<ref name="lpi-p1152">{{cite book
|title=The Linux Programming Interface
|last=Kerrisk