![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
|
|
||||
| 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 07:22 AM |
| any way to close socket | pa.chidhambaram | UNIX and Linux Applications | 3 | 02-01-2008 07:12 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 |
|
#1
|
|||
|
|||
|
Close Socket at HP-UX
Hi all,
I have a HP-UX 11.23 that have a Server establishing connections on port 8888 . The problem is that when i need to stop and restart the Server, the connections mantain the same state and i need to wait about 20-30 minutes before all connections finishes. The connections remain at states "Established, close_wait, fin_wait1, fin_wait2", but at this time i already haved stop the server and need to restart, and i only can restart the server later close all connections at 8888 port. i try to stop the connections with lsof and ndd, but the parameters that i enter does not work. Someone have any suggestion?? |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Yes the bind will fail if there are outstanding fin1/fin2 state sockets unless the server uses SO_REUSEADDR or you wait for the timeout.
|
|
#3
|
|||
|
|||
|
Ok Porter, Thanks for your help...
but how to set "SO_REUSEADDR" and timeout parameters??? |
|||
| Google The UNIX and Linux Forums |