diff options
author | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-29 12:27:29 +0200 |
---|---|---|
committer | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-29 12:27:29 +0200 |
commit | 2bae49ecb411d13d1d9d78e764340468f7f49f44 (patch) | |
tree | 3b7907e172438775291954fb5a8b54541059acc6 /backend/microservice/PythonServer/project/api/socket2/client.py | |
parent | 9f3d674413affc18377c8f2564bb660270ffe7f5 (diff) | |
parent | 98d580ca1ba501bc059ff417dd1794e0f6a68407 (diff) |
Merge branch 'trening' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into dev
# Conflicts:
# frontend/src/app/_services/models.service.ts
Diffstat (limited to 'backend/microservice/PythonServer/project/api/socket2/client.py')
-rw-r--r-- | backend/microservice/PythonServer/project/api/socket2/client.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/backend/microservice/PythonServer/project/api/socket2/client.py b/backend/microservice/PythonServer/project/api/socket2/client.py deleted file mode 100644 index 65e76b55..00000000 --- a/backend/microservice/PythonServer/project/api/socket2/client.py +++ /dev/null @@ -1,16 +0,0 @@ -# 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.0.1', port)) - -# receive data from the server and decoding to get the string. -print (s.recv(1024).decode()) -# close the connection -s.close()
\ No newline at end of file |