Nguyễn Vân Anh
New member
How kill TCP connection in Linux?
Answer
On Linux systems:
Answer
On Linux systems:
- Find the offending process: netstat -np.
- Find the socket file descriptor: lsof -np $PID.
- Debug the process: gdb -p $PID.
- Close the socket: call close($FD)
- Close the debugger: quit.
- Profit.