23 lines
348 B
Python
23 lines
348 B
Python
|
|
url="tcp://localhost:9999"
|
|
|
|
st1 = Stream("st1", url, SocketType.PULL)
|
|
#st1.parent.config.headerReservingAllocator = True
|
|
st1.parent.config.analizeHeader = False
|
|
|
|
|
|
st1.initialize()
|
|
st1.start()
|
|
st1.waitCacheChange(60000)
|
|
add_device(st1)
|
|
try:
|
|
#bscan (st1, 5, 5, save=False)
|
|
#show_panel(st1)
|
|
pass
|
|
finally:
|
|
#st1.close()
|
|
pass
|
|
|
|
|
|
|