Welcome to the Monastery. When posting code you need to have it between <code></code> tags. Take a look at Writeup Formatting Tips for more information. Also you may want to have a look at the PerlMonks FAQ if you have not done so already.
Thanks for your helps.Now I can paste my codes here.
I'm really troubled by the CLOSE_WAIT problems.I'm appreciated for anyone here could kindly help me with this problem.