Re: IdIcmpClient problems

Giganews Newsgroups
Subject: Re: IdIcmpClient problems
Posted by:  Remy Lebeau (TeamB) (gambit47.no.spam@no.spam.yahoo.com)
Date: Mon, 13 Oct 2003

"Brandon Bernie" <brand…@technolounge.org> wrote in message
news:26C2ADF56D82E240brand…@technolounge.org...

> Basically 2 things are going wrong, first off is when i ping an
> invalid host the program will crash and hang while pinging.
> I am guessing it hangs and my app freezes because i have
> not created a separate thread but i have not tested this.  The
> second problem is that it will raise an exception class
> EIdSockError message with 'Socket Error # 11004'.

What you describe is exactly what it is supposed to be doing.  Just wrap the
pinging in a try...except block to catch the error.

Gambit

Replies

None

In response to

IdIcmpClient problems posted by Brandon Bernie on Mon, 13 Oct 2003