|Subject:||Re: IdIcmpClient problems|
|Posted by:||Remy Lebeau (TeamB) (firstname.lastname@example.org)|
|Date:||Mon, 13 Oct 2003|
"Brandon Bernie" <brand…@technolounge.org> wrote in message
> 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.
IdIcmpClient problems posted by Brandon Bernie on Mon, 13 Oct 2003