library/src/network/BP-Network.cc
// This checks a proxy chain to ensure that data can be sent across it.  This routine
// creates it's own network handle to accomplish this, and does not modifigy the handle
// passed in as a parameter, except to modify values found in the proxy_info structure.
This checks a proxy chain to ensure that data can be sent across it.  This routine
creates it's own network handle to accomplish this, and does not modifigy the handle
passed in as a parameter, except to modify values found in the proxy_info structure.
This checks a proxy chain to ensure that data can be sent across it . This routine creates it ' s own network handle to accomplish this and does not modifigy the handle passed in as a parameter except to modify values found in the proxy_info structure .
BP_ERROR_T BP_NetProxyChainCheckWorking(P_BP_NETWORK_HANDLE net_handle)
{
	if(!net_handle)
		return ERR_FAILURE;
	if(!net_handle->proxy_info)
		return ERR_FAILURE;
	if(!net_handle->proxy_info->proxy_chain_n || !net_handle->proxy_info->proxy_chain)
		return ERR_FAILURE;
	size_t n = 0;
	for(; n < net_handle->proxy_info->proxy_chain_n; n++)
	{
	}
	return ERR_SUCCESS;
}
BP_ERROR_T BP_NetProxyChainCheckWorking ( P_BP_NETWORK_HANDLE net_handle ) { if ( ! net_handle ) return ERR_FAILURE ; if ( ! net_handle -> proxy_info ) return ERR_FAILURE ; if ( ! net_handle -> proxy_info -> proxy_chain_n || ! net_handle -> proxy_info -> proxy_chain ) return ERR_FAILURE ; size_t n = 0 ; for ( ; n < net_handle -> proxy_info -> proxy_chain_n ; n ++ ) { } return ERR_SUCCESS ; }
This checks a proxy chain to ensure that data can be sent across it.
This checks a proxy chain to ensure that data can be sent across it .
// ensure we have a network handle // ensure we have a proxy info structure // ensure we have proxies within the proxy info // structure. // walk the chain and attempt connects // return indicating success