aboutsummaryrefslogtreecommitdiff
path: root/backend/microservice/PythonServer/project/api/socket2/client.py
diff options
context:
space:
mode:
authorDanijel Andjelkovic <adanijel99@gmail.com>2022-03-29 12:24:38 +0200
committerDanijel Andjelkovic <adanijel99@gmail.com>2022-03-29 12:24:38 +0200
commit98d580ca1ba501bc059ff417dd1794e0f6a68407 (patch)
treebc0680bda42355ba42ca5aae5b5bf0d6861a34fe /backend/microservice/PythonServer/project/api/socket2/client.py
parent2833bcde639d0c8e36971b5e899488dc828a0779 (diff)
Povezao treniranje modela.
Diffstat (limited to 'backend/microservice/PythonServer/project/api/socket2/client.py')
-rw-r--r--backend/microservice/PythonServer/project/api/socket2/client.py16
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