Browse Source

tcp hacky

justheuristic 3 years ago
parent
commit
1e3869cde1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      hivemind/p2p/p2p_daemon_bindings/control.py

+ 1 - 0
hivemind/p2p/p2p_daemon_bindings/control.py

@@ -154,6 +154,7 @@ class ControlClient:
             listen_path = self.listen_maddr.value_for_protocol(protocols.P_UNIX)
             server = await asyncio.start_unix_server(self._handler, path=listen_path)
         elif proto_code == protocols.P_IP4:
+            print("IPV4!")
             host = self.listen_maddr.value_for_protocol(protocols.P_IP4)
             port = int(self.listen_maddr.value_for_protocol(protocols.P_TCP))
             server = await asyncio.start_server(self._handler, port=port, host=host)