cfunction src/core/net.c on line 590, column 1 (net/socket &opt type) Creates a new unbound socket. Type is an optional keyword, either a :stream (usually tcp), or :datagram (usually udp). The default is :stream.