code: def send(self, packet, retry=True):
          
          addr = ('255.255.255.255', self.port)  # 255. is the broadcast IP for UDP
          try:
              self.send_socket.sendto(packet, addr)
          except Exception as e:
              self.log("Link failed to send packet over socket %s" % e)
              sleep(0.2)
              if retry:
                  self.send(packet, retry=False)
docs: send a packet down the line to the inteface