an_unset_proxy - set a proxy capable socket to not use a proxy
#include <antinat.h>
The an_unset_proxy(3) function is used to remove any proxy server specification. Given that the default value for a newly created socket is derived from the AN_PROXY environment variable, this function should be used if you are certain that a proxy should not be used on a socket. If a proxy should be used on the socket, call either the an_set_proxy(3) or an_set_proxy_url(3) function.
s is a socket previously created with an_new_connection(3).
This call returns AN_ERROR_SUCCESS to indicate successful completion.
This function appeared in Antinat 0.90.
an_new_connection(3), an_set_proxy(3), an_set_proxy_url(3)
Malcolm Smith <malxau@users.sourceforge.net>