public static bool canLocalSocks5ProxyConnectGoogle() { if (!ConnectTest.isValidCurrentServer()) { return(false); } return(ConnectTest.canUrlConnect("http://chrome.google.com", "html", true)); }
public static bool canLocalSocks5ProxyConnectBaidu() { if (!ConnectTest.isValidCurrentServer()) { return(false); } return(ConnectTest.canUrlConnect("http://www.baidu.com", "html", true)); }