cfunction
src/core/net.c on line 619 , column 1
(net/socket &opt type address-family )
Creates a new unbound socket. Type is an optional keyword , either a
:stream (usually tcp ), or :datagram (usually udp ). The default is
:stream. `address-family` should be one of :ipv4 or :ipv6.