Content deleted Content added
→Socket instantiation: Qualified first parameter's value |
→Socket instantiation: Parallel structure of sentences |
||
Line 116:
|page=1197}}</ref>
The <code>type</code> parameter
# <code>SOCK_STREAM</code> will create a stream socket. A stream socket provides a reliable, bidirectional, and [[connection-oriented communication]] channel between two processes. Data are 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
|