Skip to content
Snippets Groups Projects
Commit 4cf98a6e authored by Stranger3333's avatar Stranger3333
Browse files

modify input

parent d1f6b989
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,9 @@ import socket
import sys
import time
import os
HOST = '127.0.0.1'
PORT = 5566
HOST = sys.argv[1]
PORT = int(sys.argv[2])
print(HOST,PORT)
class Node:
def client(self):
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
......
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