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
DGRAM
DGRAM:1
A datagram socket is connectionless and sends unreliable messages.
This means UDP when used with IPV4/IPV6.
LOCAL is not compatible with DGRAM
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