implemented NetworkAPI.getNetworkIPv4 method