Re: odd socket behavior

From: Alex Riesen
Date: Fri Sep 02 2005 - 12:53:11 EST


On 8/30/05, Phy Prabab <phyprabab@xxxxxxxxx> wrote:
> Hello all,
>
> I am seeing something odd w/sockets. I have an app
> that opens and closes network sockets. When the app
> terminates it releases all fd (sockets) and exists,
> yet running netstat after the app terminates still
> shows the sockets as open! Am I doing something wrong
> or is this something that is normal?

Do you shutdown(2) them? Are these listening sockets?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/