JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

net/setsockopt

core-api


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

    (net/setsockopt stream option value)

    set socket options.

    supported options and associated value types:

    * :so-broadcast boolean
    * :so-reuseaddr boolean
    * :so-keepalive boolean
    * :ip-multicast-ttl number
    * :ip-add-membership string
    * :ip-drop-membership string
    * :ipv6-join-group string
    * :ipv6-leave-group string


0 examplesSign in to add an example
Loading...