会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
kcrist
2018年9月17日
python之ftp单线程模拟,client端
摘要: __author__ = 'neu'import socketimport hashlibclient = socket.socket() #初始化socketclient.connect(('localhost',5999)) #选择链接的服务端地址端口 while True: cmd = inp
阅读全文
posted @ 2018-09-17 11:35 kcrist
阅读(158)
评论(0)
推荐(0)
python之ftp单线程模拟,server端
摘要: __author__ = 'neu'import socketimport osimport hashlibserver = socket.socket() #初始化socketserver.bind(('localhost',5999)) #绑定地址端口server.listen() #开始监听w
阅读全文
posted @ 2018-09-17 10:21 kcrist
阅读(209)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告