Hello everyone.
(I have found in this forum lots of infos about closing socket in c, and others lenguages but never with shell-command)
Im developing a tool over tcl/tk; in this application i open a socket to communicate with a ada application.
In the init script i open both programs (tcl and ada) and each of them open a socket to communicate between them. When i close both programs, the sockets remains there during one minute more-less. I need some shell command to close it.
How can i close that sockest faster?? i really need to do it.
Is the problem in the "socket open options" perhaps?
The socket remains in "FIN_WAIT2 state" long time(1 minute).
( Im using ubuntu 8.10 core 2.6.24-23-generic and bash version 3.2.39 )
Thx all.