IdIcmpClient problems

Giganews Newsgroups
Subject: IdIcmpClient problems
Posted by:  Brandon Bernie (brand…@technolounge.org)
Date: Mon, 13 Oct 2003

Ok,

So in my application i am using this IdIcmpClient to ping a host and then
plot the results of the ping onto a PerformanceGraph.
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'.  I dont know what i am
doing wrong, but i need some way of verrifying whether or not the IP address
/ Hostname that the user has entered is correct before, either that or
figure out how to catch this error and ignore it.

thanks,
Brandon

Replies