zoukankan      html  css  js  c++  java
  • time wait 客户端主动关闭

    # !/usr/bin/env python
    # -*- coding: utf-8 -*-
    import urllib2
    import urllib
    import cookielib
    import json
    import httplib
    import re
    import requests
    import os
    import time
    
    import requests, requests.utils, pickle
    
    try:
        import cookielib  # 兼容Python2
    except:
        import http.cookiejar as cookielib
    
    from requests.packages.urllib3.exceptions import InsecureRequestWarning
    
    requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
    url='http://zjcap.cn/zhoxxdao/note/1450198'
    while True:
        s = requests.session()
        r = s.get(url, verify=False)
        print r.content
    
    
     TCP    192.168.8.57:56509     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56510     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56511     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56512     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56513     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56514     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56515     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56516     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56517     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56518     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56519     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56520     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56521     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56522     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56523     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56524     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56525     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56526     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56527     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56528     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56529     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56530     121.40.3.229:80        TIME_WAIT
     TCP    192.168.8.57:56533     121.40.3.229:80        TIME_WAIT	
    
  • 相关阅读:
    Idea快捷键
    Java学习之路--书籍推荐
    泵式等待基元
    uni-app,wex5,APPcan,ApiCloud几款国内webapp开发框架的选型对比
    前端框架2019 云开发
    select2 javascript控件 如何设置指定的值
    Github 索引
    linux
    WPF 中的 Uri 地址的不同写法
    WPF GridSplitter 使用技巧
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13348659.html
Copyright © 2011-2022 走看看