Re: Socket Error # 0

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

"Maria" <mar…> wrote in message

> 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.



In response to

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