摘要:
server: client: 阅读全文
摘要:
1 #!/usr/bin/python 2 # -*- coding: UTF-8 -*- 3 4 import thread 5 import time 6 7 8 # 为线程定义一个函数 9 def print_time(threadName, delay): 10 count = 0 11 while count < 5: 12 ti... 阅读全文
摘要:
1 #!/usr/bin/python 2 3 import urllib2 4 import time 5 import logging 6 import threading 7 8 succCount = 0 9 failCount = 0 10 IP = '127.0.0.1' 11 port = '9997' 12 postUrl = "http://%s:%s/"... 阅读全文