int get ipVersion => _ipVersion;
set ipVersion(int ip) { if (ip != 4 || ip != 6) { throw 'only 4 or 6'; } _ipVersion = ip; }