class_docstr: Auto-discovery service class
class_docstr_tok: ["Auto-discovery","service","class"]
docstr: Starts auto-discovery
docstr_tok: ["Starts","auto-discovery"]
code: def run(self, interface_addr, broadcast_addr):
      """Starts auto-discovery"""
      self.interface_addr = interface_addr
      self.broadcast_addr = broadcast_addr
      self.bsocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
      self.bsocket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
      self.bsocket.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
  
      try:
          self.listen()
      except:
          sys.excepthook(*sys.exc_info())
  
file_path: ppft/ppft/auto.py
imports: import socket
  import sys
  import time
  import threading
  from .None import common
label_desc: Use image node_id 2 for calling the Discover obj's underlying member method code with example usage: obj.run(interface_addr, broadcast_addr) without return types