- 链接地址:https://blog.csdn.net/weixin_45515187/article/details/109366281
- 链接标题:041--python--TCP--QQ聊天案例--客户端和服务端的交互-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:3101
文章浏览阅读176次。客户端from socket import *client_socket = socket(AF_INET, SOCK_STREAM)server_ip_port = ('192.168.56.1', 8091)client_socket.connect(server_ip_port)while True: send_data = input("请输入:") if len(send_data) > 0: client_socket.send(send_data
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除