Browse Source

tcp hacky

justheuristic 3 năm trước cách đây
mục cha
commit
1e3869cde1
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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)