Subject: Winsock VB.NET Client Server Mechanism Socket Closing Issue
I am designing an application which communication using Ports (8888). I pass a message on port to a remote system and waiting the Remote system response which some time takes more than 5 second to response.
it is a long time to wait. so I use a timer which wait for 3 seconds if the connection established then it got OFF else application need to close the socket using .close() function.
I noticed it did not close the port and still wait for resolving the Host.
Is there any way to give a shutup call to socket closing so that next remote system could be entertained.