
Help: Closing winsock connection
OK I have a winsock control on my form and I'm using it to connect to a
remote server. This works perfectly. Then when I try and close, the
code in my close event never fires. I check the state of the control
and it is 0, so it should be closed, but the "closed" message box that
should appear never does. Also, when I try and reconnect I get the
"Name already in use" error. Can someone please help?! If I can't
connect, disconnect, and connect again my app. is useless!
Thanks in advance...