Update client.py
This commit is contained in:
1 parent
6591589b77
commit
cbb1881024
1 file changed
+1
-1
+1
-1
@@ -22,7 +22,7 @@ def grep_all_ips(ips):
|
||||
client_socket.connect((ip, PORT))
|
||||
print(f"Connected to server at {ip}:{PORT}")
|
||||
|
||||
client_socket.sendall(b"Hello from client!")
|
||||
client_socket.sendall("echo hello".encode())
|
||||
data = client_socket.recv(1024)
|
||||
print("Received:", data.decode())
|
||||
except Exception as e:
|
||||
|
||||
Reference in new issue
Block a user