Warning: session_start(): open(/var/lib/php/sessions/sess_k85dg01j9o34samm8ej8i1bvfu, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
//import android.net.DhcpInfo;
//import android.net.wifi.WifiManager;
// generified (compiles everywhere)
static S androidGetGateway() {
O wifii = call(androidContext_gen(), "getSystemService", "wifi");
O d = call(wifii, "getDhcpInfo");
int g = (int) get(d, "gateway");
ret g == 0 ? null : androidGetGateway_intToIP(g);
}
static S androidGetGateway_intToIP(int addr) {
return ((addr & 0xFF) + "." +
((addr >>>= 8) & 0xFF) + "." +
((addr >>>= 8) & 0xFF) + "." +
((addr >>>= 8) & 0xFF));
}