fileChannel.read(data);
long serverCount = Convert.intToLong(data.getInt(0));
for(long i = 0; i < serverCount; i++) {
TagList tagList = new TagList();
//Read server IP
data = Misc.getByteBuffer(4);
fileChannel.read(data);
String remonteAddress = Convert.IPtoString(data.array());
//Read server port
data = Misc.getByteBuffer(2);
fileChannel.read(data);
int remontePort = (Convert.shortToInt(data.getShort(0)));
//Read TagList count
data = Misc.getByteBuffer(4);
fileChannel.read(data);
int tagCount = data.getInt(0);
//Load tags....
for(int j = 0; j<tagCount; j++) {
Tag tag = TagScanner.scanTag(fileChannel);
if (tag != null)
tagList.addTag(tag);
}
ip_list.add(remonteAddress);
port_list.add(remontePort);
tag_list.add(tagList);