Skip to content
Snippets Groups Projects
Commit 34d83272 authored by Hang's avatar Hang
Browse files

fast push

parent db0e8964
No related branches found
No related tags found
1 merge request!10MP3 Log Version Ready
...@@ -37,8 +37,9 @@ def connect(coordinator_info: tuple): ...@@ -37,8 +37,9 @@ def connect(coordinator_info: tuple):
coordinator_port_number = coordinator_info[1][SERVER_PORT] coordinator_port_number = coordinator_info[1][SERVER_PORT]
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) client = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
address = (coordinator_ip_address, coordinator_port_number) address = (coordinator_ip_address, coordinator_port_number)
pprint(f'[connect] - client connect to address {address}') pprint(f'[connect] - client connecting to address {address}')
client.connect(address) client.connect(address)
pprint(f'[connect] - client connecting to address {address} success!')
return client return client
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment