Re: [Linux-decnet-user] Closing DECNET connections
Brought to you by:
chrissie_c,
ph3-der-loewe
|
From: Steven W. <st...@gw...> - 2002-04-16 13:28:14
|
Hi, [snip] > > > Steve? > > patrick > > Hmm. Not sure about that. When the socket gets closed (along with all the other fds of that process it should get shutdown. The release function has the code in it to force that. Are you sure that there isn't something keeping the socket open somehow ? I don't know why a signal should cause this because the destruction of a socket should be the same code path whatever caused the process to exit. I wonder if you add a signal handler to the application which does: close(socket); exit(0); whether you still get the same problem ? What kernel version are you using ? I know some of the DECnet code can be a bit slow in places in shutting down sockets as its overcautious, but I've not seen hangs in the RUN state before, Steve. |