def METHOD_NAME(self, shared_flag=0):
    """
    Dealing with VNC initial message.
    """
    (shared_flag, ) = struct.pack('!B', shared_flag)
    self.sock.send(shared_flag)
    rec = self.sock.recv(24)
    (width, height, pixformat, name_len) = struct.unpack('!HH16sI', rec)
    (bits_per_pixel, depth, big_endian, true_color,
     red_max, green_max, blue_max, red_shift, green_shift,
     blue_shift) = struct.unpack("!BBBBHHHBBBxxx", pixformat)
    server_name = self.sock.recv(name_len)
    LOG_JOB.info("vnc server name: %s", server_name)