function hwport_getip(){
    return "54.226.23.160";
}
function hwport_getipv(){
    return ((-1) != hwport_getip().indexOf(":")) ? 6 : 4;
};