A datagram socket is connectionless and sends unreliable messages.
This means UDP when used with IPV4/IPV6.
LOCAL is not compatible with DGRAM
STREAM
STREAM:0
A streaming socket sends reliable messages over a two-way connection.
This means TCP when used with IPV4/IPV6,
and Unix domain sockets when used with LOCAL
A datagram socket is connectionless and sends unreliable messages. This means UDP when used with IPV4/IPV6. LOCAL is not compatible with DGRAM