作者enthos (影斯作业系统)
看板EZsoft
标题[推荐] kill tcp(TCPView,TcpConnectionKiller)
时间Tue Feb 15 03:24:59 2022
软体名称:TcpConnectionKiller
软体资讯:Win10,...
软体功能:Kill tcp connections in command line.
官方网站:
https://github.com/nzbart/TcpConnectionKiller
下载连结:
https://github.com/nzbart/TcpConnectionKiller/releases/
推荐原因: Fast close tcp connections
使用感想:
用 ffmpeg 下载档案转成 mp4 有时会网路卡住,
此时中止它会坏档,後来发现 TCPView 有 close connection 功能适用。
但需要用 GUI 操作,大量执行时操作不便。
之前找不到 TCPView 的 source code,今天终於找到能用的。
google: close tcp connection api windows another process
https://stackoverflow.com/questions/3099095/
terminate-existing-tcp-connection
https://github.com/nzbart/TcpConnectionKiller/
https://stackoverflow.com/questions/8688949/
how-to-close-tcp-and-udp-ports-via-windows-command-line
http://wkillcx.sourceforge.net/
http://wkillcx.sourceforge.net/wkillcx.txt
https://docs.microsoft.com/en-us/sysinternals/downloads/tcpview
https://github.com/jNizM/TCPView
Shows TCP and UDP connections. (.ahk)
Shows TCP (v4 and v6) connections.
Shows UDP (v4 and v6) connections.
Resolves Remote IP to Hostname
Export as .csv
https://www.autohotkey.com/board/topic/8228-
process-listfile-namescommand-lines/
process list+file names+command lines
(Broken, only pid is ok in win10)
本着作依据 Creative Commons 姓名标示-非商业性-相同方式分享 授权条款为授权
http://creativecommons.org/licenses/by-nc-sa/3.0/tw/
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 114.43.64.4 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/EZsoft/M.1644866708.A.148.html