소스 검색

tcp hacky

justheuristic 3 년 전
부모
커밋
1e3869cde1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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)