JanetDocsPlaygroundI'm feeling luckyGitHub sign in

net/connect



    cfunction

    (net/connect host port &opt type)

    Open a connection to communicate with a server. Returns a duplex
    stream that can be used to communicate with the server. Type is an
    optional keyword to specify a connection type, either :stream or
    :datagram. The default is :stream.



0 examplesSign in to add an example
Loading...