JanetDocsSourcePlaygroundTutorialsI'm Feeling luckyCommunityGitHub sign in

net/socket

core-api


    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.


0 examplesSign in to add an example
Loading...