void getMessage() {
        try {
            if ((byte) iStream.read() != 2) {
                close(true, true);
            }
            byte[] bLength = new byte[4];
            if (iStream.read(bLength, 0, 4) != 4) {
                close(true, true);
            }
            ByteBuffer buffer = ByteBuffer.allocate(4).put(bLength);
            buffer.position(0);
            int length = buffer.getInt();
            byte[] bName = new byte[length];
            if (iStream.read(bName, 0, length) != length) {
                close(true, true);
            }
            System.out.print("<" + new String(bName) + "> ");
            bLength = new byte[4];
            if (iStream.read(bLength, 0, 4) != 4) {
                close(true, true);
            }
            buffer = ByteBuffer.allocate(4).put(bLength);
            buffer.position(0);
            length = buffer.getInt();
            byte[] bMess = new byte[length];
            if (iStream.read(bMess, 0, length) != length) {
                close(true, true);
            }
            System.out.println(new String(bMess));
        } catch (Exception e) {
            close(true, true);
        }
    }