Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Dec : Re: how to check connection?

www.cryer.info
Managed Newsgroup Archive

Re: how to check connection?

Subject:Re: how to check connection?
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Wed, 2 Jan 2008 15:02:38

"soonic" <xxsoonic@op.pl> wrote in message
news:477c02e1$1@newsgroups.borland.com...

> it's happening inside of DisconnectServer() if you meant that.

You know FOR A FACT that it is inside DisconnectServer()?  You can wrap that
code inside a try..except block and catch the exception when it happens?

> I also have another button to exit my application and when I
> press this button then I get the same message error.

Shutting down the application is going to implicitally deactivate the
server.  If this problem really is being raised by the server's Active
property setter method, then it is going to happen regardless of whether you
deactive the server yourself or let the VCL do it for you.


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive