Skip to contentSkip to conversation

Socket Close Problem

DISCUSSION Sreekandh Iyer 1 participant 1 message May 27, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

We have a simple TCP client and server setup. We want the tcp client sockets to close immediately once the close method is called as the no of open sockets is increasing rapidly as many are still in the TIME_WAIT state.We tried the SO_LINGER option to eliminate the TIME_WAIT state but it doesn't seem to be effective on our Linux - 2.4.18-14.
We need a solution to the "close" problem desperately. We would appreciate it if you could kindly help us find a solution.

Regards and TIA,
sree

Signature · 4 lines
Om. May all be happy; may all be healthy ;
may all see good in all. May none experience misery. 

Om. peace! peace! peace!