繁体   English   中英

用 python 编写的类 Javascript TCP 套接字客户端?

[英]Javascript-like TCP socket client written in python?

In the page http://pypi.python.org/pypi/websocket-client/0.4 the first snippet (the "Low Level API example") is very much like the client example in http://docs.python.org/库/socket.html#example

我感兴趣的是,是否有可能制作一个甚至驱动的 TCP 客户端,例如第一个网页上的“JavaScript websocket-like API 示例”,例如,当消息到达时执行操作。 我怎样才能做到这一点? 我发现 这个使用扭曲的例子 还有其他(更好的?)方法吗?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM