remove flushes
This commit is contained in:
parent
65c71b8ed0
commit
fc6d0a7bb1
1 changed files with 0 additions and 4 deletions
|
@ -1,13 +1,11 @@
|
||||||
import datetime
|
import datetime
|
||||||
import socket
|
import socket
|
||||||
import sys
|
|
||||||
|
|
||||||
from utils import mac_address, broadcast_address
|
from utils import mac_address, broadcast_address
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
||||||
print("Starting listener...")
|
print("Starting listener...")
|
||||||
sys.stdout.flush()
|
|
||||||
|
|
||||||
connection = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.ntohs(3))
|
connection = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.ntohs(3))
|
||||||
|
|
||||||
|
@ -28,5 +26,3 @@ if __name__ == "__main__":
|
||||||
print("Congratulations, packet received correctly!")
|
print("Congratulations, packet received correctly!")
|
||||||
else:
|
else:
|
||||||
print("Wrong message, please check that you are sending \"ZeusWPI is de max!\"")
|
print("Wrong message, please check that you are sending \"ZeusWPI is de max!\"")
|
||||||
|
|
||||||
sys.stdout.flush()
|
|
||||||
|
|
Loading…
Reference in a new issue