def __handle_pong(self, seqno, packet): pong = kismet_pb2.Pong() pong.ParseFromString(packet) self.last_pong = time.time()
def __send_pong(self, seqno): pong = kismet_pb2.Pong() pong.ping_seqno = seqno self.write_ext_packet("PONG", pong)