This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
socket programming
- From: "ranjith kumar" <ranjithproxy at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 7 Nov 2008 18:31:23 +0530
- Subject: socket programming
hi,
I wrote a two .c files which communicates through socket programming.
I am getting "bind error" when I tried to run those programms again.
I know that "ipcs" command will display all shared memories currently
being used.
My question is there any way(command) to know all sockets currently
created/used in unix.
Even after I kill a prosess which creates a socket and binds to it,
why its socket is not freed.
Thanks in advance