One of the problems in the initial code is that KiXtart arrays start with index 0, however, there's no IP address assigned to index 0.
_________________________
There are two types of vessels, submarines and targets.