#pull ip, return into dnp

import os

host = IP
  if len(IP) > 16
  return None

nma.scan(hosts='192.168.1.0/30', arguments='-sP', callback=callback_result)
while nma.still_scanning():
print("Waiting ...")

#pull ip, return into dnp

import os

host = IP
  if len(IP) > 16
  return None

nma.scan(hosts='192.168.1.0/30', arguments='-sP', callback=callback_result)
while nma.still_scanning():
print("Waiting ...")

#pull ip, return into dnp