JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

net/accept

core-api


    cfunction
    src/core/net.c on line 840, column 1

    (net/accept stream &opt timeout)

    Get the next connection on a server stream. This would usually be 
    called in a loop in a dedicated fiber. Takes an optional timeout in 
    seconds, after which will raise an error. Returns a new duplex 
    stream which represents a connection to the client.


0 examplesSign in to add an example
Loading...