![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX and Linux Applications Questions involving software not covered by other forum go here. This includes Databases and Middleware. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| socket close() -w- pthreads linux 2.6.18.2-34 (suse) SMP | ramen_noodle | High Level Programming | 1 | 02-06-2008 06:22 AM |
| Close Socket at HP-UX | Renato Gregio | HP-UX | 2 | 08-14-2007 07:04 AM |
| socket close hangs and CPU go to 100% | arico | HP-UX | 0 | 08-22-2006 09:35 AM |
| Socket Programming socket | soshell | High Level Programming | 2 | 06-29-2004 04:49 AM |
| C Prog to close a socket in established state | teledelux | High Level Programming | 1 | 10-03-2001 08:42 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
any way to close socket
I have written a socker program. I have executed that program many times without closing the socket. So I want to find which all sockets binded with which file descriptor.
Is there any way to close those socket, which have been opened in that program's execution. please help me!.. |
| Forum Sponsor | ||
|
|
|
|||
|
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. |
|||
| Google The UNIX and Linux Forums |