51CTO博客开发马哥教育LinuxChris On the wayShare your knowledge …xiexiaojun王春海的博客哥不是海盗wu大侠的博客Linux运维之路启示录For The Dream毛竹之势vinsent忘情居老男孩linux培训功夫猫浩子的▁运维笔录ヽ
#修改代码 from socket import * from time import ctime HOST = 'localhost' PORT = 21567 BUFSIZ = 1024 ADDR = (HOST,PORT) tcpSocket&n
# bytes object b = b"example" # str object s = "example" # str to bytes  
创建TCP服务器伪代码: s = socket() #创建服务器套接字  
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号