diff --git a/ImageServer/ImageClient.py b/ImageServer/ImageClient.py new file mode 100644 index 0000000000000000000000000000000000000000..0bd0052ce41c5ddb4050ea8e59bfa78bb9072740 --- /dev/null +++ b/ImageServer/ImageClient.py @@ -0,0 +1,18 @@ +# Import socket module +import socket + +# Create a socket object +s = socket.socket() + +# Define the port on which you want to connect +port = 12345 + +# connect to the server on local computer +s.connect(('127.0.1.1', port)) + +print("I am here") + +# receive data from the server +print(s.recv(1024)) +# close the connection +s.close() \ No newline at end of file