JanetDocsI'm feeling luckyGitHub sign in

net/address



    cfunction

    (net/address host port &opt type)

    Look up the connection information for a given hostname, port, and
    connection type. Returns a handle that can be used to send datagrams
    over network without establishing a connection. On Posix platforms,
    you can use :unix for host to connect to a unix domain socket, where
    the name is given in the port argument. On Linux, abstract unix
    domain sockets are specified with a leading '@' character in port.


0 examplesSign in to add an example
Loading...