Skip to content

Commit

Permalink
Update Switch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor-Ibi authored Feb 29, 2024
1 parent 6e6c315 commit fa1e424
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Examples/Switch.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import ImportPackage as ImportPackage
import ImportPackage as NewAlpha

virtual_switch = ImportPackage.AlphaSwitch()
virtual_switch = NewAlpha.AlphaSwitch()
virtual_switch.setup(port=25505, address="Your IP-Address")
virtual_switch.startLog()

for i in range(1024):
virtual_switch.handleTraffic()
print(virtual_switch.getNewestLog)
print(virtual_switch.getNewestLog)

0 comments on commit fa1e424

Please sign in to comment.