예제 #1
0
from protocol import Client

client = Client(6631)

client.wait_handshake()

while True:
    client.receive_message()

예제 #2
0
파일: main.py 프로젝트: ChMcg/KMZI
def protocol_test():
    port = randint(5000, 5099)
    print(f"port: {port}")
    client = Client(port)
    client.wait_handshake()
    client.receive_message()