summaryrefslogtreecommitdiffstats
path: root/robotframework-onap/eteutils/SocketUtils.py
diff options
context:
space:
mode:
Diffstat (limited to 'robotframework-onap/eteutils/SocketUtils.py')
-rw-r--r--robotframework-onap/eteutils/SocketUtils.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/robotframework-onap/eteutils/SocketUtils.py b/robotframework-onap/eteutils/SocketUtils.py
deleted file mode 100644
index 0214a13..0000000
--- a/robotframework-onap/eteutils/SocketUtils.py
+++ /dev/null
@@ -1,15 +0,0 @@
-import socket
-
-
-class SocketUtils:
- """SocketUtils is common resource for simple socket keywords."""
-
- def __init__(self):
- pass
-
- def send_binary_data(self, host, port, data):
- """ send raw bytes over tcp socket"""
- sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
- # Connect to server and send data
- sock.connect((host, int(port)))
- sock.sendall(bytes(data))