for (int i = currentIndex; i < currentIndex + 4; i++) {
indexNum <<= 8;
indexNum += new Byte(buffer[i]).intValue();
}
if (indexNum == 18 && currentIndex + 16 < buffer.length) {
return new PlaneDataObject(ip,"xplane8",
this.getData(buffer, currentIndex + 4),
this.getData(buffer, currentIndex + 8),
this.getData(buffer, currentIndex + 12),0,0);
} else if (currentIndex + 36 < buffer.length) {
currentIndex += 36;