Ejemplo n.º 1
0
    def __handle_pong(self, seqno, packet):
        pong = kismet_pb2.Pong()
        pong.ParseFromString(packet)

        self.last_pong = time.time()
Ejemplo n.º 2
0
 def __send_pong(self, seqno):
     pong = kismet_pb2.Pong()
     pong.ping_seqno = seqno
     self.write_ext_packet("PONG", pong)