Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想设置一个 Pyro4 对象的 socket.TCP_KEEPIDLE 来保持心跳。有没有办法做到这一点?或者也欢迎解决方法。提前致谢。
如果你真的想要,你可以socket通过 Proxy 中的实际对象,proxy._pyroConnection.sock但是你使用的是内部 API,所以不能保证你的代码继续工作。
socket
proxy._pyroConnection.sock