Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Mar : Closing a TIdTCPClient Connection

www.cryer.info
Managed Newsgroup Archive

Closing a TIdTCPClient Connection

Subject:Closing a TIdTCPClient Connection
Posted by:"Dennis" (mariannd..@home3.gvdnet.dk)
Date:Tue, 28 Mar 2006 12:54:40

Hi

I have a problem closing a TIdTCPClient connection properly.

Before closing my application I call Disconnect and Free, but when I restart
the application I cannot connect again. I get a "Socket error #10048 -
Address already in use" exception.

What is it that I fail to do?

Best regards
Dennis Kjaer Christensen

Replies:

www.cryer.info
Managed Newsgroup Archive