[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kill sockets

Scavenging the mail folder uncovered Marco d'Itri's letter:
> On Feb 21, Ricardo Borges <ricardo.borges@gbl.com.br> wrote:
>  >I would like to know how can I write a software in C thats kill only the
>  >conections with TIME_WAIT handle  in a specific TCP/IP port???
> You can't and you shouldn't. These connection will die after a timeout.

it is usefull when debugging a server application that sigsegvs.
it's pretty annoying to wait 75s every time to restart it...


Federico Di Gregorio
MIXAD LIVE System Programmer                           fog@mixadlive.com
Debian GNU/Linux Developer & Italian Press Contact        fog@debian.org
  99.99999999999999999999% still isn't 100% but sometimes suffice. -- Me

Reply to: