The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 02-01-2008
pa.chidhambaram pa.chidhambaram is offline
Registered User
 

Join Date: Feb 2008
Location: Nagercoil
Posts: 4
Thank you very much..

Thank you,

I can find which ports has been still opened using that netstat function. but i want to close those ports. because my program will try to create the socket on the same port. if that port is already opened means, system cant create the socket or bind.

Can you tell me, how to close those socket ports.

Is there any way to close those ports which are left by the program to close.

Thanks in Advance.
Reply With Quote