摘要:
定制报文头,conn.send() import struct #利用struct来处理 fileinfo={ 'filename':'a.txt', #指明文件名 'filesize':13333 #指明文件大小 } #为了传输,应该把字典转换为字节流的形式,利用pickle import pic 阅读全文
posted @ 2018-04-25 14:44
Josie_chen
阅读(151)
评论(0)
推荐(0)

浙公网安备 33010602011771号