Dear All,

I am facing an issue regarding the closing of socket.

1. When a .connect() event called it looks for socket states like Hostresolving then hostresolved then connecting and Closed called.

2. I would like to close the socket while it goes to resolve the host. this is a shutup call to socket closing.

3. I try this using socket.clos() builtin function of winsock2005DLL.

Issue that I am facing is "it did not close the socket while @resolving host and goes for Hostresolved"

How can I do this ?

Shahid Mehmood