cfunction
src/core/net.c on line 692 , column 1
(net/socket &opt cntype address-family )
Creates a new unbound socket. `cntype` is an optional keyword ,
either `:stream` (usually TCP ), or `:datagram` (usually UDP ). The
default is `:stream` . `address-family` should be `:ipv4` or
`:ipv6` .