网站介绍:文章浏览阅读982次。服务器端:import socketimport datetimeHOST='0.0.0.0'PORT=3434s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.bind((HOST,PORT))s.listen(1)while True: conn,addr=s.accept() print('Client %s connetced!' %str(addr)) dt=datetime.datetime.no_python tcpip
- 链接地址:https://blog.csdn.net/weixin_48657573/article/details/120040158
- 链接标题:python实现tcp/ip_python tcpip_张芮晨的博客-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:5295
- 网站标签:python tcpip