// 123456789012345 // xxx.xxx.xxx.xxx // length of an IP without a port is 15 // when creating a variable for a string, // the size should be the length + 1 // this is because the array must have 0 as it's final cell to be a string new ip[16];