Re: [twsocket] Bug with ICS and PING?

2012-05-07 Thread Lester Clayton
I've just answered my own question :) There is also TPing.Reply.Status - a zero is good, a non-zero is bad (seemingly). Thanks all. Lester On 07/05/2012 22:01, Lester Clayton wrote: Are you suggesting that there is no bug? That's fine, but how does one differentiate then from a successful p

Re: [twsocket] Bug with ICS and PING?

2012-05-07 Thread Lester Clayton
Are you suggesting that there is no bug? That's fine, but how does one differentiate then from a successful ping and an unsuccessful one (where CMD PING would reply "Destination host unreachable.") Lester On 07/05/2012 21:29, François Piette wrote: If however you are trying to ping a device

Re: [twsocket] Bug with ICS and PING?

2012-05-07 Thread François Piette
>If however you are trying to ping a device on the local subnet which is not there > (DOS PING shows "Destination host unreachable.") , the application returns 1, 0 >and then the Reply.RTT shows the correct time >it took to fail. It seems to me that this is a bug because the flag > returned fr

[twsocket] Bug with ICS and PING?

2012-05-07 Thread Lester Clayton
Having an interesting problem with TPing, and the replies under certain circumstances Here is my code I'm using: Ping1.Address := '10.110.12.1'; Memo1.Lines.Add(IntToStr(Ping1.Ping)); Memo1.Lines.Add(IntToStr(Ping1.ErrorCode)); Memo1.Lines.Add(IntToStr(Ping1.Reply.RTT)); If the address