[twsocket] ICS Beta V8 (aka IPv6 / FireMonkey Beta) updated

2012-05-07 Thread Arno Garrels
Hi,

This is just to let you know that the directory structure of the
Beta V8 aka IPv6 / FireMonkey Beta branch 
http://wiki.overbyte.be/wiki/index.php/ICS_Download
has changed. A clean SVN check out to a new directory is recommended. 

The new layout is as follows: 
 
.\Info directory
.\Install Component packages project groups for all 
versions
.\Packages(was Delphi\Vc32)   Delphi (7 and up) and C++Builder (2006 
and up) packages projects
.\Source  (was Delphi\Vc32)   ICS Delphi source code 
.\Source\Include  (was Delphi\Vc32)   .inc files (including OverbyteIcsDefs.inc)

.\Lib Unit output directories for all package 
builds, subdirectories
| for 2007+ will be created on building the 
packages 
  \$(Config)  Release / Debug
  |
 \$(Platform) Win32 / Win64 / OSX32
|
   \delphi_version  D7..XE2 includes .dcu and .dfm files for 
Delphi
  and .obj and .hpp files for C++ Builder
   
.\Samples\delphi\internet Delphi Win32/Win64 sample applications 
(all Delphi versions)
.\Samples\delphi\sslinternet  Delphi Win32/Win64 SSL-enabled sample 
applications (all Delphi versions)
.\Samples\delphi\PlatformDemosDelphi FireMonkey and cross-platform 
samples (Delphi XE2+)
.\Samples\delphi\internet\WebServData Directory for WebServ demo data files
.\Samples\cpp\internetC++Builder sample applications
.\Samples\cpp\internet\cb2006 C++Builder 2006 projects
.\Samples\cpp\internet\cb2007 C++Builder 2007 projects
.\Samples\cpp\internet\cb2009 C++Builder 2009 projects
.\Samples\cpp\internet\cb2010 C++Builder 2010 projects
.\Samples\cpp\internet\cbXE   C++Builder XE projects
.\Samples\cpp\internet\cbXE2  C++Builder XE2 projects

Also read ReadMe8.txt UPGRADING and REINSTALLING

-- 
Arno
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[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 10.110.12.1 Responds, I see the results 1, 0 and then the 
ms of the reply in my Memo1 - this is good.


If the address 10.110.12.1 Does not respond, (DOS PING shows Request 
timed out) I see the results 0, 11010 and 0 in Memo1 - this is also good.


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 from ping indicates a success, and the ErrorCode also indicates 
no errors.


Windows 7 SP1 64 bit
Delphi XE2 Update 4
ICS BetaV8 Rev 991
VCL Forms Application
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


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 from ping indicates a success, and the ErrorCode also indicates
no errors.

The success means the ICMP request packet has been sent.

--
François Piette




--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


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 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 from ping indicates a success, and the ErrorCode also indicates

no errors.

The success means the ICMP request packet has been sent.

--
François Piette






--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


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 ping and an unsuccessful one 
(where CMD PING would reply Destination host unreachable.)


Lester



--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be