I had try to detect if the socket handle is available. But I found the socket handle is the same integer value whether after fsockopen() or after fclose().
How can decect the socket handle is available or not?
Thanks a lot