This commit is contained in:
parent
d29688421c
commit
74cb4168de
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ def getident(hostt:str, clientport:int, ssll:bool):
|
||||||
serverport = "6697" if ssll else "6667"
|
serverport = "6697" if ssll else "6667"
|
||||||
try:
|
try:
|
||||||
identsender.sendall(bytes(f"{clientport} , {serverport}\r\n", "UTF-8"))
|
identsender.sendall(bytes(f"{clientport} , {serverport}\r\n", "UTF-8"))
|
||||||
responsee = identserver.recv(2048).decode()
|
responsee = identsender.recv(2048).decode()
|
||||||
print(responsee)
|
print(responsee)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
return {"success": False, "response": f"Could not send packets to your server: {ex}"}
|
return {"success": False, "response": f"Could not send packets to your server: {ex}"}
|
||||||
|
|
Loading…
Add table
Reference in a new issue