Re: Socket Error # 0

Giganews Newsgroups
Subject: Re: Socket Error # 0
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Tue, 3 Jan 2006

"Maria" <mar…@softstuf.com> wrote in message
news:5D8401A4FFE7E240mar…@softstuf.com...

> The try and except commands are executed as programmed but a
> messagebox is still being displayed when a connection is lost during a
> call to the get().  The messagebox displays "Socket Error # 0".  As
> mentioned before this is an unmanned station.  Can anyone tell me
> where this messagebox is coming from.

Indy does not display any message boxes.  The only way for a message box to
appear for an exception is if either:

1) your own code is displaying it.

2) you are not catching all exceptions, and one of them is escaping into a
default handler inside the VCL.

3) you are running the program inside the debugger and the debugger is
catching the exception before your code is.

Gambit

Replies

In response to

Socket Error # 0 posted by Maria on Tue, 3 Jan 2006