The type of socket to create.
If this is set to false, an IPv4 socket is created, which subsequently only allows IPv4 communication. If it is set to true, an IPv6 socket is created, allowing both IPv4 and IPv6 communication.