Print socket that is being created

This commit is contained in:
Piv
2020-02-19 17:34:06 +10:30
parent 6fa062b559
commit 5d4d58dfb0

View File

@@ -95,6 +95,7 @@ class SlamStreamer:
return context.socket(zmq.PUB)
def _start_socket(self, socket, port):
print('Starting socket at with address: ' + 'tcp://*:' + str(self._port))
socket.bind('tcp://*:' + str(self._port))
return socket