We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28c7223 commit 2f5a8baCopy full SHA for 2f5a8ba
scan.py
@@ -69,10 +69,9 @@ def sendPacket(startNum, count):
69
payloads = []
70
totalPlayerCount = 0
71
while True:
72
- sk_rec = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
73
- sk_rec.bind((localHostIP, localHostPort))
74
try:
75
- # if True:
+ sk_rec = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
+ sk_rec.bind((localHostIP, localHostPort))
76
data, addr = sk_rec.recvfrom(10240)
77
date = time.strftime('%H:%M:%S')
78
if len(data) <= 30:
0 commit comments