BASS_CONFIG_NET_PROXY config option
Proxy server settings.
BASS_SetConfigPtr( BASS_CONFIG_NET_PROXY, char *proxy );
Parameters
proxy | The proxy server settings, in the form of "user:pass@server:port"... NULL = don't use a proxy. "" (empty string) = use the OS's default proxy settings. If only the "user:pass@" part is specified, then those authorization credentials are used with the default proxy server. If only the "server:port" part is specified, then that proxy server is used without any authorization credentials. |
Remarks
BASS does not make a copy of the config string, so it must reside in the heap (not the stack), eg. a global variable. This also means that the proxy settings can subsequently be changed at that location without having to call this function again.Changes take effect from the next internet stream creation call.