Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

killing sockets

Status
Not open for further replies.

MrTom

Programmer
Joined
Mar 13, 2001
Messages
383
Location
GB
is there any way i can terminate a tcp connection as root?
i don't want to kill it's parent process but rather watch what happens when it's connections are lost.
 
Why not use some TCP proxy and kill the proxy process
whenever you like?
 
you could always turn off the interface.

ifconfig hme0 down
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top