mirror of
https://github.com/Justuser3310/jetwork.git
synced 2025-02-08 01:37:38 +00:00
up
This commit is contained in:
parent
9ab1f1a7cb
commit
3cc7e01749
@ -94,6 +94,10 @@ import multiprocessing as mp
|
|||||||
def client(port, op = "ping"):
|
def client(port, op = "ping"):
|
||||||
host = 'jetwork.404.mn'
|
host = 'jetwork.404.mn'
|
||||||
|
|
||||||
|
# Если порт не определён
|
||||||
|
if not port:
|
||||||
|
return None
|
||||||
|
|
||||||
if op == "ping" or op[:3] == "is_" or op[:8] == "publish_":
|
if op == "ping" or op[:3] == "is_" or op[:8] == "publish_":
|
||||||
s = socket.socket()
|
s = socket.socket()
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user