Share this page

# Example: web.set_sockets_option

In the following example, the set_sockets_option function sets a cipher list:

    /* Use RC4-MD5 cipher for SSL */
    web.set_sockets_option("SSL_CIPHER_LIST", "RC4-MD5");
    /* Prevent downloading of images from unwanted_server */
    web.set_sockets_option("DISALLOW_HOSTS",
        "a388.g.unwanted_server.net;a372.g.unwanted_server.net");
    /* Sets the client's preferred IP address */
    web.set_sockets_option("USER_IP_ADDRESS", "200.100.100.100");

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: