标签:range color client import data cli style port enc
# -*- coding: utf-8 -*- # data:2019-02-23 20:05 # user:DIY # file:agent_eay.py import socket def work(i): sock = socket.socket(socket.AF_INET,socket.SOCK_STREAM) sock.connect((‘127.0.0.1‘,7788)) sock.send((‘我是client %s‘ %i).encode()) sock.close() for i in range(5): work(i)
标签:range color client import data cli style port enc
原文地址:https://www.cnblogs.com/tengfei520/p/10425266.html