Re: [twsocket] ICS Stable for 64bits?

2013-05-17 Thread Arno Garrels
On Thursday, May 16, 2013 11:05 PM [GMT+1=CET],
Eric Fleming Bonilha schrob:

 Hello!
 
 I would like to know if ICS is already stable for 64bits development.

I'm pretty sure it is. Try the the demos including SSL/TLS they do work.


 I`m porting my system to 64bits and I updated to ICS8, but I´m having
 many issues (ICS is in the core of my system) that looks like memory
 overflow or overwrite, so, I´m trying to find out the problems and I
 want to eliminate the possibility of errors on 3th party libraries

At first read this: 
http://docwiki.embarcadero.com/RADStudio/XE4/en/Converting_32-bit_Delphi_Applications_to_64-bit_Windows

From my own experience, the old Win-API header translations are often
the problem, from wrong declarations of the functions to wrong record
field alignment.

Note: The 64-bit compiler is actually quite usable, however the
64-bit debugger is still very buggy. 

-- 
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


Re: [twsocket] ICS of delphi DX3 can not redirection is disabled

2013-04-26 Thread Angus Robertson - Magenta Systems Ltd
 Where to get the ICS frame browser demo code? thanks.

It is part of the ICS V7 and V8 distributions, in directory:

.\Samples\delphi\BroswerDemo  

It is a full visual browser, using the THtmlViewer component from:

http://code.google.com/p/thtmlviewer/

so displays most web pages, although without any scripting.  It has a
diagnostic window that displays both headers and data downloaded, which
can be very useful to see how a web page is built.  

Angus

--
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] ICS of delphi DX3 can not redirection is disabled

2013-04-25 Thread Angus Robertson - Magenta Systems Ltd
 I used HTTPCli of ICS in delphi 7, HTTPCli can handle redirection
 automatically,
 now I move my code to delphi XE3 and use the latest ICS, but 
 HTTPCli can
 not handle redirection automatically, Is it a bug? or What am I 
 missing?

The 'latest' ICS still handles redirection automatically. 

If you want to report a bug, you will need to be specific about what
internal versions of HTTPCli worked before, and not now, and which URLs
no longer redirect. 

Angus

--
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] ICS of delphi DX3 can not redirection is disabled

2013-04-25 Thread xlq
The old HTTPCli is Version: 1.47 , it work fine in delphi 7

Now I use HTTPCli version is Version: 8.00 in Delphi XE3, and the link no
longer redirect is:
http://media.soundcloud.com/stream/EvkwidLYJX0C?stream_token=UUQGe








On Thu, Apr 25, 2013 at 2:49 PM, Angus Robertson - Magenta Systems Ltd 
an...@magsys.co.uk wrote:

  I used HTTPCli of ICS in delphi 7, HTTPCli can handle redirection
  automatically,
  now I move my code to delphi XE3 and use the latest ICS, but
  HTTPCli can
  not handle redirection automatically, Is it a bug? or What am I
  missing?

 The 'latest' ICS still handles redirection automatically.

 If you want to report a bug, you will need to be specific about what
 internal versions of HTTPCli worked before, and not now, and which URLs
 no longer redirect.

 Angus

 --
 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

--
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] ICS of delphi DX3 can not redirection is disabled

2013-04-25 Thread Angus Robertson - Magenta Systems Ltd
 Now I use HTTPCli version is Version: 8.00 in Delphi XE3, and the
 link no longer redirect

Using the ICS frame browser demo, redirection works fine here, although
nothing useful is displayed since it's an audio clip, some headers
removed to keep this shorter:

FrameBrowser Get:
http://media.soundcloud.com/stream/EvkwidLYJX0C?stream_token=UUQGe
[0]  GET /stream/EvkwidLYJX0C?stream_token=UUQGe HTTP/1.1
[0]  HTTP/1.1 302 Moved Temporarily
[0]  Location:
http://ec-media.soundcloud.com/EvkwidLYJX0C.128.mp3?ff61182e3c2ecefa438cd0
2102d0e385713f0c1faf3b0339595665fc070deb1153437a8cc50fcf5df5446cc7a6d80703
e31311b9e16c48bdc354806dd5d714b613abe12468AWSAccessKeyId=AKIAJ4IAZE5EOI7P
A7VQExpires=1366880598Signature=1K94rAZVg0SkRaxlFjWltf%2FeVLs%3D
[0] StateChange: httpBodyReceived
[0] Connected to ec-media.soundcloud.com
[0]  GET
/EvkwidLYJX0C.128.mp3?ff61182e3c2ecefa438cd02102d0e385713f0c1faf3b03395956
65fc070deb1153437a8cc50fcf5df5446cc7a6d80703e31311b9e16c48bdc354806dd5d714
b613abe12468AWSAccessKeyId=AKIAJ4IAZE5EOI7PA7VQExpires=1366880598Signat
ure=1K94rAZVg0SkRaxlFjWltf%2FeVLs%3D HTTP/1.1
[0]  Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
[0]  HTTP/1.1 200 OK
[0]  Content-Type: audio/mpeg
[0]  Date: Thu, 25 Apr 2013 09:02:58 GMT
[0]  Content-Length: 382013
FrameBrowserGetPostRequestEx Done: Status 200
[0] Disconnected

Angus

--
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] ICS of delphi DX3 can not redirection is disabled

2013-04-25 Thread xlq
I created dynamically a HTTPCli and use it to get the URL:

mHttpCli:= THttpcli.Create(nil);
mHttpCli.OnCommand  := OnMyCommand;
mHttpCli.OnHeaderData   := OnMyHeaderData;
mHttpCli.OnDocData:= OnMyDocData;
mHttpCli.MultiThreaded  := true;
mHttpCli.URL:= '
http://media.soundcloud.com/stream/EvkwidLYJX0C?stream_token=UUQGe';
mHttpCli.RcvdStream := TFileStream.Create('c:\tmp\1', fmCreate);

mHttpCli.Get;
..

It can not redirect automtically in delphi XE3, but it work fine in delphi 7

Where to get the ICS frame browser demo code? thanks.




On Thu, Apr 25, 2013 at 5:23 PM, Angus Robertson - Magenta Systems Ltd 
an...@magsys.co.uk wrote:

  Now I use HTTPCli version is Version: 8.00 in Delphi XE3, and the
  link no longer redirect

 Using the ICS frame browser demo, redirection works fine here, although
 nothing useful is displayed since it's an audio clip, some headers
 removed to keep this shorter:

 FrameBrowser Get:
 http://media.soundcloud.com/stream/EvkwidLYJX0C?stream_token=UUQGe
 [0]  GET /stream/EvkwidLYJX0C?stream_token=UUQGe HTTP/1.1
 [0]  HTTP/1.1 302 Moved Temporarily
 [0]  Location:
 http://ec-media.soundcloud.com/EvkwidLYJX0C.128.mp3?ff61182e3c2ecefa438cd0
 2102d0e385713f0c1faf3b0339595665fc070deb1153437a8cc50fcf5df5446cc7a6d80703
 e31311b9e16c48bdc354806dd5d714b613abe12468AWSAccessKeyId=AKIAJ4IAZE5EOI7P
 A7VQExpires=1366880598Signature=1K94rAZVg0SkRaxlFjWltf%2FeVLs%3D
 [0] StateChange: httpBodyReceived
 [0] Connected to ec-media.soundcloud.com
 [0]  GET
 /EvkwidLYJX0C.128.mp3?ff61182e3c2ecefa438cd02102d0e385713f0c1faf3b03395956
 65fc070deb1153437a8cc50fcf5df5446cc7a6d80703e31311b9e16c48bdc354806dd5d714
 b613abe12468AWSAccessKeyId=AKIAJ4IAZE5EOI7PA7VQExpires=1366880598Signat
 ure=1K94rAZVg0SkRaxlFjWltf%2FeVLs%3D HTTP/1.1
 [0]  Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
 [0]  HTTP/1.1 200 OK
 [0]  Content-Type: audio/mpeg
 [0]  Date: Thu, 25 Apr 2013 09:02:58 GMT
 [0]  Content-Length: 382013
 FrameBrowserGetPostRequestEx Done: Status 200
 [0] Disconnected

 Angus

 --
 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

--
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] ICS of delphi DX3 can not redirection is disabled

2013-04-25 Thread xlq
Sorry, I wrote some wrong codes in OnMyDocData, now it work fine.



On Fri, Apr 26, 2013 at 8:34 AM, xlq xliuqi...@gmail.com wrote:

 I created dynamically a HTTPCli and use it to get the URL:

 mHttpCli:= THttpcli.Create(nil);
 mHttpCli.OnCommand  := OnMyCommand;
 mHttpCli.OnHeaderData   := OnMyHeaderData;
 mHttpCli.OnDocData:= OnMyDocData;
 mHttpCli.MultiThreaded  := true;
 mHttpCli.URL:= '
 http://media.soundcloud.com/stream/EvkwidLYJX0C?stream_token=UUQGe';
 mHttpCli.RcvdStream := TFileStream.Create('c:\tmp\1', fmCreate);

 mHttpCli.Get;
 ..

 It can not redirect automtically in delphi XE3, but it work fine in
 delphi 7

 Where to get the ICS frame browser demo code? thanks.




 On Thu, Apr 25, 2013 at 5:23 PM, Angus Robertson - Magenta Systems Ltd 
 an...@magsys.co.uk wrote:

  Now I use HTTPCli version is Version: 8.00 in Delphi XE3, and the
  link no longer redirect

 Using the ICS frame browser demo, redirection works fine here, although
 nothing useful is displayed since it's an audio clip, some headers
 removed to keep this shorter:

 FrameBrowser Get:
 http://media.soundcloud.com/stream/EvkwidLYJX0C?stream_token=UUQGe
 [0]  GET /stream/EvkwidLYJX0C?stream_token=UUQGe HTTP/1.1
 [0]  HTTP/1.1 302 Moved Temporarily
 [0]  Location:
 http://ec-media.soundcloud.com/EvkwidLYJX0C.128.mp3?ff61182e3c2ecefa438cd0
 2102d0e385713f0c1faf3b0339595665fc070deb1153437a8cc50fcf5df5446cc7a6d80703http://ec-media.soundcloud.com/EvkwidLYJX0C.128.mp3?ff61182e3c2ecefa438cd02102d0e385713f0c1faf3b0339595665fc070deb1153437a8cc50fcf5df5446cc7a6d80703
 e31311b9e16c48bdc354806dd5d714b613abe12468AWSAccessKeyId=AKIAJ4IAZE5EOI7P
 A7VQExpires=1366880598Signature=1K94rAZVg0SkRaxlFjWltf%2FeVLs%3D
 [0] StateChange: httpBodyReceived
 [0] Connected to ec-media.soundcloud.com
 [0]  GET
 /EvkwidLYJX0C.128.mp3?ff61182e3c2ecefa438cd02102d0e385713f0c1faf3b03395956
 65fc070deb1153437a8cc50fcf5df5446cc7a6d80703e31311b9e16c48bdc354806dd5d714
 b613abe12468AWSAccessKeyId=AKIAJ4IAZE5EOI7PA7VQExpires=1366880598Signat
 ure=1K94rAZVg0SkRaxlFjWltf%2FeVLs%3D HTTP/1.1
 [0]  Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
 [0]  HTTP/1.1 200 OK
 [0]  Content-Type: audio/mpeg
 [0]  Date: Thu, 25 Apr 2013 09:02:58 GMT
 [0]  Content-Length: 382013
 FrameBrowserGetPostRequestEx Done: Status 200
 [0] Disconnected

 Angus

 --
 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



--
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] ICS V8 Linker problem when installing on XE3

2013-02-25 Thread Arno Garrels
Mark Morrison wrote:
 Hi:
 
 
 
 When I try to build IcsVclCBXE3Run.bpl with C Builder XE3, I get the
 following linker errors:
 
 
 
 [ilink32 Error] Error: Public symbol for EXPDEF '@System@Generics
 @Collections@%TEnumerator__1$p30System@Classes@TCollectionItem%@DoGetCurrent$qqrv'
 not found in module OverbyteIcsWSocketS.pas
[..] 
 IcsCommonCBXE3Run.bpl builds correctly.

I don't know. All I know is that I'm able to build the dual installation
packages for C++ Builder Win32 even with XE3 UPD 2, however the OS X target
always failed in the past (not tested with UPD 2 yet).
Actually I'll no longer support C++ Builder for ICS since I do no
longer have the spare time, sorry. New volunteers are wanted to take over
the C++ Builder support in ICS.

-- 
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


Re: [twsocket] ICS WebServer Demo

2012-11-14 Thread Angus Robertson - Magenta Systems Ltd
 The problem was that the World Wide Web Publishing Services was 
 running.

There is a registry setting that makes IIS listen only on specific IP
addresses when it starts, so you can run IIS and ICS servers at the same
time.  

HLM\SYSTEM\CurrentControlSet\Services\HTTP\Parameters\ListenOnlyList

or add them using netsh commands:

netsh http add iplisten ipaddress=217.146.102.140:80

Angus
 

--
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] ICS FTP Client Strange Effect

2012-11-14 Thread Arno Garrels
Graham Powell wrote:
 I have an odd effect that I'm sure one of you clever guys will
 provide an answer to.
 
 I am using the FTP client to put a file on the a web site. The file
 format is of my own making and have no trouble reading and writing to
 files to/from the hard drive.
 Apart from the first 4 bytes in the file, the data is stored as
 Unicode. So in the case of English text every other byte is zero. Now
 when I putAsync the file and look at the result it has stored every
 carriage return with the two bytes in reverse order. So $0D, $00 is
 stored as $00, $0D. Line feeds and all the other text are stored
 correctly. 
 
 Am I doing something wrong? The FTP component is as per the default
 settings.

Have you tried binary mode yet?

-- 
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


Re: [twsocket] ICS FTP Client Strange Effect

2012-11-14 Thread Graham Powell
Just spotted that with Wireshark. Although Binary mode is set at design time
I remember now that I have to set TypeBinaryAsync after the connection is
made.

Thanks
Graham

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Arno Garrels
Sent: 14 November 2012 16:05
To: ICS support mailing
Subject: Re: [twsocket] ICS FTP Client Strange Effect

Graham Powell wrote:
 I have an odd effect that I'm sure one of you clever guys will provide 
 an answer to.
 
 I am using the FTP client to put a file on the a web site. The file 
 format is of my own making and have no trouble reading and writing to 
 files to/from the hard drive.
 Apart from the first 4 bytes in the file, the data is stored as 
 Unicode. So in the case of English text every other byte is zero. Now 
 when I putAsync the file and look at the result it has stored every 
 carriage return with the two bytes in reverse order. So $0D, $00 is 
 stored as $00, $0D. Line feeds and all the other text are stored 
 correctly.
 
 Am I doing something wrong? The FTP component is as per the default 
 settings.

Have you tried binary mode yet?

--
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

--
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] ICS FTP Client Strange Effect

2012-11-14 Thread Arno Garrels
Graham Powell wrote:
 Just spotted that with Wireshark. Although Binary mode is set at
 design time I remember now that I have to set TypeBinaryAsync after
 the connection is made.

Yep, I and many others had to learn this lesson as well. 
I vote for Binary as the default mode.

-- 
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


Re: [twsocket] ICS FTP Client Strange Effect

2012-11-14 Thread François Piette
 I vote for Binary as the default mode.

Unfortunately, the standard says text mode has to be the default.

-- 
francois.pie...@overbyte.be
Embarcadero MVP
http://www.overbyte.be



--
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] ICS WebServer Demo

2012-11-14 Thread François Piette
 The problem was that the World Wide Web Publishing Services was running.

You should have got the error 10048 Socket already in use. You reported
error 10013. Strange.

-- 
francois.pie...@overbyte.be
Embarcadero MVP
http://www.overbyte.be




--
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] ICS WebServer Demo

2012-11-13 Thread Angus Robertson - Magenta Systems Ltd
 Just started to look at the Web Server demo. When I run it I get 
 10013 Bind error.
 Any clues as to how to proceed?

Close the existing web server application running on the same IP address
and port, use a different port for the ICS web server or add another IP
address to your PC and make sure other applications don't try and use it
(IIS defaults to using all IPs). 

Angus

--
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] ICS WebServer Demo

2012-11-13 Thread Graham Powell
Thanks. Demo works now.

Graham

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: 13 November 2012 16:57
To: twsocket@elists.org
Subject: Re: [twsocket] ICS WebServer Demo

 Just started to look at the Web Server demo. When I run it I get
 10013 Bind error.
 Any clues as to how to proceed?

Close the existing web server application running on the same IP address and
port, use a different port for the ICS web server or add another IP address
to your PC and make sure other applications don't try and use it (IIS
defaults to using all IPs). 

Angus

--
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

--
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] ICS WebServer Demo

2012-11-13 Thread François Piette
 Just started to look at the Web Server demo. When I run it I get 10013
Bind error.
 Any clues as to how to proceed?

Error 10013 mean you have no access to some file.
Check the OS files hosts, protocol and services (no extension) which shoud
be in C:\Windows\System32\drivers\etc
Some virus corrupt those files or make the OS think they are at another
location.

-- 
francois.pie...@overbyte.be
Embarcadero MVP
http://www.overbyte.be



--
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] ICS support for RAD Studio XE3

2012-09-14 Thread Angus Robertson - Magenta Systems Ltd
Support for Delphi and C++ Builder XE3 is now available in ICS V7
available from: 

http://wiki.overbyte.be/wiki/index.php/ICS_Download

Also, the ICS V8 XE3 package has been corrected to add some components.

Angus




--
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] ICS support for RAD Studio XE3

2012-09-08 Thread François Piette
 Support for Delphi and C++ Builder XE3 is now available in ICS V8 beta
available from: 
 http://wiki.overbyte.be/wiki/index.php/ICS_Download
 ICS V8 includes support for IPv6 and the FireMonkey FMX framework for
Windows and Mac OS X.  

I would like to thanks Angus Robertson and Arno Garrels for their huge
support for making ICS V8. Without both of them, ICS-V8 would probably not
be there !

Great work and again, thanks.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be



--
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] ICS support for RAD Studio XE3

2012-09-08 Thread Angus Robertson - Magenta Systems Ltd
 When I click on the ICS-V8 Beta Snapshot, link 
 http://wiki.overbyte.be/arch/change-log-icsv8.xml
 I get this error: Object not found!

The zip download link always worked, but viewing the changes log failed
due to two missing XML/XLS files, one from the Wiki site, one from the
SVN server.  

I've now moved all XML files to the SVN server, so new releases only need
to be updated in one place, and everything is now working again.

Angus


--
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] ICS support for RAD Studio XE3

2012-09-08 Thread Glenn Crouch
Much appreciated :)


Glenn Crouch, mailto:gl...@esbconsult.com
ESB Consultancy, http://www.esbconsult.com
Follow us on Twitter: http://twitter.com/esbglenn 
Home of ESBPCS and ESB Calculators
Kalgoorlie-Boulder, Western Australia 




--
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] ICS support for RAD Studio XE3

2012-09-07 Thread Arno Garrels

- Original Message - 
From: Angus Robertson - Magenta Systems Ltd an...@magsys.co.uk
To: twsocket@elists.org
Sent: Friday, September 07, 2012 5:56 PM
Subject: [twsocket] ICS support for RAD Studio XE3


 Support for Delphi and C++ Builder XE3 is now available in ICS V8 beta
 available from: 
 
 http://wiki.overbyte.be/wiki/index.php/ICS_Download

When I click on the ICS-V8 Beta Snapshot, link 
http://wiki.overbyte.be/arch/change-log-icsv8.xml
I get this error:
 
Object not found!
The requested URL was not found on this server. The link on the referring page 
seems to be wrong or outdated. Please inform the author of that page about the 
error. 
If you think this is a server error, please contact the webmaster. 
Error 404
wiki.overbyte.be
Fri Sep 7 21:40:29 2012
Apache/2.2.15 (Fedora)

 
--
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] ICS FTP Client - Next question

2012-07-18 Thread Graham Powell
That seems to be the case. I now just call the TypeBinaryAsync in the
ftpConnectAsync event. 
Thanks again for your help.

Graham

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: 17 July 2012 17:41
To: twsocket@elists.org
Subject: Re: [twsocket] ICS FTP Client - Next question

 I have found that if I call TypeBinaryAsync first and then in the 
 Request event (ftpTypeSetAsync) I now call GetAsync

You only need to set type once, and if you are using Async events then
OnRequestDone is where you check your state mechanism for the next command.
Personally, I mostly use the sync methods, much easier. 

Angus

--
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


--
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] ICS FTP Client - Next question

2012-07-17 Thread Angus Robertson - Magenta Systems Ltd
 The problem is that for every carriage return I get an additional
 non-Unicode carriage return.
 The ICS FTP Client component has the Binary property set TRUE.

But are you calling the TypeBinary or TypeSet methods that actually send
the TYPE command?  

Angus

--
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] ICS FTP Client - Next question

2012-07-17 Thread Graham Powell
I think you are correct. I have found that if I call TypeBinaryAsync first
and then in the Request event (ftpTypeSetAsync) I now call GetAsync then it
works.

Is this the best way to do it?

I guess I thought that just setting Binary to TRUE, it was going to send the
TYPE I automatically.

Graham

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: 17 July 2012 15:46
To: twsocket@elists.org
Subject: Re: [twsocket] ICS FTP Client - Next question

 The problem is that for every carriage return I get an additional 
 non-Unicode carriage return.
 The ICS FTP Client component has the Binary property set TRUE.

But are you calling the TypeBinary or TypeSet methods that actually send the
TYPE command?  

Angus

--
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


--
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] ICS FTP Client - Next question

2012-07-17 Thread Angus Robertson - Magenta Systems Ltd
 I have found that if I call TypeBinaryAsync first
 and then in the Request event (ftpTypeSetAsync) I now call GetAsync 

You only need to set type once, and if you are using Async events then
OnRequestDone is where you check your state mechanism for the next
command.  Personally, I mostly use the sync methods, much easier. 

Angus

--
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] ICS FTP Client

2012-07-16 Thread Angus Robertson - Magenta Systems Ltd
 Now I change the working directory to Test1/abc. I check with 
 Now I change the working directory to Test1/abc. PwdAsync that
 it is correct and it responds with what I could expect.
 Next I try and do a directory listing on this folder. The response 
 indicates no error, but the stream is of zero size.

LIST only returns file in the current directory, so unless there are
files in Test1/abc it will return a blank directory. 

If you want to list all files in sub-directories you have to traverse the
directory free listing each directory and combine all the results, or use
an FTP that lists all sub-directories in a single command, ie the ICS FTP
server.  

You can try my File Transfer Components which are high level FTP and HTTP
components using ICS that will list sub-directories and copy all the
files with a single command. 

http://www.magsys.co.uk/delphi/magxfer.asp

Angus

--
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] ICS FTP Client

2012-07-16 Thread Graham Powell
I may well end up using your components, but in the meantime I need to
determine what my problem is here.
I use DirAsync to get the directory listing. If I set the directory to Test1
and do a DirAsync, I get all the files and folder names. Now If I set the
CWD to one of these sub folders and do a DirAsync again, I get a zero length
stream returned. I know there are files in the sub folder as I can see them
with Windows Explorer.

The curious thing is that when I CWD straight to the subfolder after the
Connect event, the DirAsync now returns some data in the stream, but only
the dot and double dot folders.

Any more clues?

Graham

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: 16 July 2012 14:26
To: twsocket@elists.org
Subject: Re: [twsocket] ICS FTP Client

 Now I change the working directory to Test1/abc. I check with Now I 
 change the working directory to Test1/abc. PwdAsync that it is correct 
 and it responds with what I could expect.
 Next I try and do a directory listing on this folder. The response 
 indicates no error, but the stream is of zero size.

LIST only returns file in the current directory, so unless there are files
in Test1/abc it will return a blank directory. 

If you want to list all files in sub-directories you have to traverse the
directory free listing each directory and combine all the results, or use an
FTP that lists all sub-directories in a single command, ie the ICS FTP
server.  

You can try my File Transfer Components which are high level FTP and HTTP
components using ICS that will list sub-directories and copy all the files
with a single command. 

http://www.magsys.co.uk/delphi/magxfer.asp

Angus

--
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


--
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] ICS FTP Client

2012-07-16 Thread Angus Robertson - Magenta Systems Ltd
 I may well end up using your components, but in the meantime I need 
 to determine what my problem is here.

The component includes an EXE demo, use that against the FTP server and
the same root directory specifying get subdirs, and watch the FTP
commands and responses the component uses to parse the directories.   Or
use a decent FTP client like FileZilla that lists commands and responses.


If it also fails to list the subdirs, the FTP server is faulty or maybe
set so you can only see the root directory. 

 I know there are files in the sub folder as I can see them
 with Windows Explorer.

Which does not have any FTP functionality, so is this a local FTP server?

Angus

--
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] ICS FTP Client

2012-07-16 Thread Marc Charbonneau
 I know there are files in the sub folder as I can see them
 with Windows Explorer.

 Which does not have any FTP functionality, so is this a local FTP server?
You can browse FTP servers with Windows Explorer, you just need to
type the address in the address bar.
Ex.: ftp://usern...@ftpserver.com

You can even tell it to use passive mode by going in Control
Panel-Internet Options-Advanced tab

hth
--
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] ICS FTP Client

2012-07-16 Thread Graham Powell
I used the demo program from your website in conjunction with Wireshark to
monitor what was going on in network land. I then tried my program and the
problem was obvious. I knew it would be simple. After doing the GetAsync I
had not cleared the HostFilename parameter. So the DirAsync still had this
as a parameter.

Thanks for all your input.

Graham

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: 16 July 2012 15:46
To: twsocket@elists.org
Subject: Re: [twsocket] ICS FTP Client

 I may well end up using your components, but in the meantime I need to 
 determine what my problem is here.

The component includes an EXE demo, use that against the FTP server and the
same root directory specifying get subdirs, and watch the FTP
commands and responses the component uses to parse the directories.   Or
use a decent FTP client like FileZilla that lists commands and responses.


If it also fails to list the subdirs, the FTP server is faulty or maybe set
so you can only see the root directory. 

 I know there are files in the sub folder as I can see them with 
 Windows Explorer.

Which does not have any FTP functionality, so is this a local FTP server?

Angus

--
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


--
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] ICS FTP Client

2012-07-16 Thread Angus Robertson - Magenta Systems Ltd
 I had not cleared the HostFilename parameter. So the DirAsync still 
 had this as a parameter.

This is deliberate, the FTP command 'LIST directory' is valid, but not
totally reliable with all FTP servers, it can save a lot of path commands.
'LIST filename' is also how to check if a specific file exists. 

The XDMLSD command supported by the ICS web server is the most efficient
way of getting all directories in a single command. 

Angus

--
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] ICS FTP Client

2012-07-16 Thread Graham Powell
Thank you. You have been very helpful.

Graham

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: 16 July 2012 17:38
To: twsocket@elists.org
Subject: Re: [twsocket] ICS FTP Client

 I had not cleared the HostFilename parameter. So the DirAsync still 
 had this as a parameter.

This is deliberate, the FTP command 'LIST directory' is valid, but not
totally reliable with all FTP servers, it can save a lot of path commands.
'LIST filename' is also how to check if a specific file exists. 

The XDMLSD command supported by the ICS web server is the most efficient way
of getting all directories in a single command. 

Angus

--
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


--
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] ICS and HTTPServer handling medium traffic

2012-05-26 Thread Angus Robertson - Magenta Systems Ltd
 1. When two or more OnGetDocument events occur at the same time, 
 should I create separate threads to process each one of them,
 knowing that my event
 response will only include XML string and the XML is generated in 
 real time using my framework?

ICS servers will handle hundreds of simultaneous clients using a single
thread.  Using simultaneous threads does make the server more complicated.


 2. What would be the best approach for a system where 10 to 15 
 users can request searches at the same time and my framework takes
 1-2 seconds to process each one (with heavy cpu usage)?

Two issues here.  Presumably you expect to run this server on a Quad Xeon
or better, so you do need multiple processes or threads to make use of
multiple processors.  

But the web application does not necessarily need to use threads, you can
offload the real XML processing into a separate application, or more than
one, and use Windows messages or a socket to pass the posted parameters
and inform the web server when the XML is ready to return.  

When developing the web application, you could combine this into a
separate application for testing, and then split them when you need more
performance.  

 3. Do you have more demos for http servers?

There are two, OverbyteIcsWebServ is a simple server,
OverbyteIcsWebAppServer is more advanced adding session concepts. 
 
 4. Does anyone who has built a working http server with ICS has any 
 advise?

I have a SQL based web application, you can see the ICS versions and
traffic statistics here:

http://www.telecom-tariffs.co.uk/serverinfo.htm

This only uses a single thread, despite the SQL requests being blocking
and taking up to a second, they simply get queued if the server is busy. 

Angus

--
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] ICS XE2 non-visual registration

2012-04-17 Thread Arno Garrels
- Original Message - 
From: Jon Burnham j...@dial.pipex.com
To: twsocket@elists.org
Sent: Tuesday, April 17, 2012 1:58 PM
Subject: [twsocket] ICS XE2 non-visual registration


 I just wanted to point out that the
 components *may* not be registering in the IDE properly. They do not appear
 in the non-visual selection once you use a data-module. 

That's a know issue, just set new property ClassGroup of the 
data module to Vcl.Controls.TControl then switch to editor view
and back to designer view to apply these changes (IDE bug).  

In a FireMonkey application (ICS Beta only) set ClassGroup to
FMX.Types.TControl.

-- 
Arno Garrels
--
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] ICS website down? overbyte.be DNS lookups fail

2012-03-23 Thread Angus Robertson - Magenta Systems Ltd
 svn, www and wiki cannot be resolved already tried from
 a webservice with same result.

All sites working from here.  But maybe I'm using cached DNS?

Angus

--
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] ICS website down? overbyte.be DNS lookups fail

2012-03-23 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote:
 svn, www and wiki cannot be resolved already tried from
 a webservice with same result.
 
 All sites working from here.  But maybe I'm using cached DNS?

It's working again now.

-- 
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


Re: [twsocket] ICS and FireMonkey

2011-10-18 Thread Arno Garrels
Arno Garrels wrote:
 Interesting screenshot:
 http://www.bilder-space.de/show_img.php?img=955c9e-1318435341.pngsize=original

FYI: Here's the next one, HttpsTst demo live on the Mac: 
http://www.bilder-space.de/show_img.php?img=40aadd-1318952812.pngsize=original

SSL worked more or less out of the box :)


-- 
Arno Garrels 
--
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] ICS and FireMonkey

2011-10-18 Thread Francois PIETTE

FYI: Here's the next one, HttpsTst demo live on the Mac:
http://www.bilder-space.de/show_img.php?img=40aadd-1318952812.pngsize=original
SSL worked more or less out of the box :)


Waouw !


francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be 


--
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] ICS and FireMonkey

2011-10-13 Thread Arno Garrels
Fastream Technologies wrote:
 I wonder what is the EXE size?

EXE size grows and grows it's 5.3 MB compiled with DCC for OS X
and 3.8 MB for Win32, 4.9 MB for Win64.

-- 
Arno Garrels

--
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] ICS and FireMonkey

2011-10-13 Thread Éric Fleming Bonilha

Does this means that the new ICS works in MACOS?

Does TWSocket class works OK in MAC?

Thanks
Eric

-Mensagem Original- 
From: Arno Garrels 
Sent: Thursday, October 13, 2011 5:44 AM 
To: ICS support mailing 
Subject: Re: [twsocket] ICS and FireMonkey 


Fastream Technologies wrote:

I wonder what is the EXE size?


EXE size grows and grows it's 5.3 MB compiled with DCC for OS X
and 3.8 MB for Win32, 4.9 MB for Win64.

--
Arno Garrels

--
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
--
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] ICS and FireMonkey

2011-10-13 Thread Arno Garrels
Éric Fleming Bonilha wrote:
 Does this means that the new ICS works in MACOS?

No, current ICS does not support OS X, however I'm working on it,
it's however still very experimental and there does not even exist
a public svn branch. I add my current work to my IPv6 local working
copy. 

-- 
Arno


 
 Does TWSocket class works OK in MAC?
 
 Thanks
 Eric
 
 -Mensagem Original-
 From: Arno Garrels
 Sent: Thursday, October 13, 2011 5:44 AM
 To: ICS support mailing
 Subject: Re: [twsocket] ICS and FireMonkey
 
 Fastream Technologies wrote:
 I wonder what is the EXE size?
 
 EXE size grows and grows it's 5.3 MB compiled with DCC for OS X
 and 3.8 MB for Win32, 4.9 MB for Win64.
 
 --
 Arno Garrels
 
 --
 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
--
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] ICS and FireMonkey

2011-10-13 Thread Éric Fleming Bonilha

No, current ICS does not support OS X, however I'm working on it,
it's however still very experimental and there does not even exist
a public svn branch. I add my current work to my IPv6 local working
copy.


Hum, thats ok, by the time that we start porting our software (in about 1 
year) you will probably have finished this ;)


Eric 


--
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] ICS and FireMonkey

2011-10-13 Thread Arno Garrels
Éric Fleming Bonilha wrote:
 No, current ICS does not support OS X, however I'm working on it,
 it's however still very experimental and there does not even exist
 a public svn branch. I add my current work to my IPv6 local working
 copy.
 
 Hum, thats ok, by the time that we start porting our software (in
 about 1 year) you will probably have finished this ;)

Well possible, however don't rely on that, I see plenty of work and
still basic problems with sync mode. So if anybody is willing to contribute
with time and know how he/she's invited, just send me a private mail in
such a case.   

-- 
Arno Garrels
--
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] ICS and FireMonkey

2011-10-12 Thread Angus Robertson - Magenta Systems Ltd
 Interesting screenshot:

I think we'll have to redesign that dialog for an IPhone g

Angus

--
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] ICS and FireMonkey

2011-10-12 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote:
 Interesting screenshot:
 
 I think we'll have to redesign that dialog for an IPhone g

What is an IPhone? As a mobile-hater my parents 75 and 80 years
old thought it was a nice idea to donated me a senior-mobile last 
year (with extra large buttons and display font;)

-- 
Arno Garrels
--
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] ICS and FireMonkey

2011-10-12 Thread Arno Garrels
Arno Garrels wrote:
 Angus Robertson - Magenta Systems Ltd wrote:
 Interesting screenshot:
 
 I think we'll have to redesign that dialog for an IPhone g
 
 What is an IPhone? As a mobile-hater my parents 75 and 80 years
 old thought it was a nice idea to donated me a senior-mobile last
 year (with extra large buttons and display font;)

Guess it runs on IPhone as well since it only uses POSIX and OS X
core frameworks. However don't think it's FPC compatible, so that
has to wait until the native Delphi compiler comes out plus my
parents or somebody else donate an IPhone ;)

-- 
Arno Garrels


--
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] ICS and FireMonkey

2011-10-12 Thread Francois PIETTE

Interesting screenshot:
http://www.bilder-space.de/show_img.php?img=955c9e-1318435341.pngsize=original


Great !

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be 


--
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] ICS and FireMonkey

2011-10-12 Thread Fastream Technologies
I wonder what is the EXE size?
Best Regards,

SZ
On Wed, Oct 12, 2011 at 21:58, Francois PIETTE francois.pie...@skynet.bewrote:

 Interesting screenshot:
 http://www.bilder-space.de/**show_img.php?img=955c9e-**
 1318435341.pngsize=originalhttp://www.bilder-space.de/show_img.php?img=955c9e-1318435341.pngsize=original


 Great !

 --
 francois.pie...@overbyte.be
 The author of the freeware multi-tier middleware MidWare
 The author of the freeware Internet Component Suite (ICS)
 http://www.overbyte.be
 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto 
 http://lists.elists.org/cgi-**bin/mailman/listinfo/twsockethttp://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be

--
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] ICS Delphi 7 installation error

2011-10-04 Thread Angus Robertson - Magenta Systems Ltd
 P.S.: I already sent this email one time, but had no reply in the 
 following days, so I try it another time. Please anyone help me !

You have sent this same email at least five times, and had at least three
replies, all of which have ignored.  

Look back in the archive to see the replies you missed.  Essentially, you
are install an old version of ICS for an old compiler, not for XE2. 

Angus

--
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] ICS Delphi 7 installation error

2011-09-26 Thread Lester
You are trying to install ICS v7 to Delphi XE2?  I'm afraid you've in 
that case opened the wrong package file.  Open up 
DXe2Install.groupproj from the Install folder.  Once there, compile 
the OverbyteIcsDXe2Run.bpl, and then install the 
OverbyteIcsDXe2Design.bpl.  You will see these on the right under the 
Package Group DXe2Install


Be sure you have the latest download available!

Lester

On 26/09/2011 17:59, Karlinchen wrote:

Hello,
I'm a complete newbie to Delphi. I have installed yesterday from the 
embarcadero website the Delphi XE2 trial version first and want to add 
ICS v7 to it.
As told in the readme file I have opened the OverbyteIcsD7Run.dpk 
project and try to build it but I get the error from the compiler:


--
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] ICS Delphi 7 installation error

2011-09-26 Thread Angus Robertson - Magenta Systems Ltd
 I'm a complete newbie to Delphi. I have installed yesterday from 
 the embarcadero website the Delphi XE2 trial version first and want 
 to add ICS v7 to it.
 As told in the readme file I have opened the OverbyteIcsD7Run.dpk 

You are confusing Delphi 7 and ICS v7.  

The projects to install ICS v7 in Delphi XE2 are OverbyteIcsDXe2Run.dproj
and OverbyteIcsDXe2Design.dproj.

Angus

--
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] ICS HTTP Client POST fails in 6 out of 16 test cases

2011-09-11 Thread Arno Garrels
Fastream Technologies wrote:
 Hello,
 
 I have had a coder code a PHP script for this purpose. In the script
 the buggy cases are marked in source. Just POSTed with ICS Post demo
 to IIS 7.5 and the bug showed its ugly face. Since we have a big
 customer awaiting the fix, if somebody could sacrifice his Sunday to
 help fix it out, we will donate $100 to him to his Paypal or share-it
 or whatever. The test case is at,

Try this fix:

procedure THttpCli.GetBodyLineNext;
[..]
{ Here we simply ignore until next LF }
while N  0 do begin
//  if P^ = #10 then begin
if Ord(FReceiveBuffer[P]) = 10 then begin // FP 09/09/06
if FChunkLength = 0 then  // = AG 
09/11/2011
FChunkState := httpChunkDone  // = AG 
09/11/2011
else  // = AG 
09/11/2011
FChunkState := httpChunkGetData;
Inc(P);
Dec(N);
break;
end;
-- 
Arno Garrels
--
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] ICS HTTP Client POST fails in 6 out of 16 test cases

2011-09-11 Thread Fastream Technologies
Nice try but not there yet. Test cases 8, 9, 10, 12, 13, 14 still fail.
Best Regards,

SZ
On Sun, Sep 11, 2011 at 09:46, Arno Garrels arno.garr...@gmx.de wrote:

 Fastream Technologies wrote:
  Hello,
 
  I have had a coder code a PHP script for this purpose. In the script
  the buggy cases are marked in source. Just POSTed with ICS Post demo
  to IIS 7.5 and the bug showed its ugly face. Since we have a big
  customer awaiting the fix, if somebody could sacrifice his Sunday to
  help fix it out, we will donate $100 to him to his Paypal or share-it
  or whatever. The test case is at,

 Try this fix:

 procedure THttpCli.GetBodyLineNext;
 [..]
{ Here we simply ignore until next LF }
while N  0 do begin
 //  if P^ = #10 then begin
if Ord(FReceiveBuffer[P]) = 10 then begin // FP 09/09/06
if FChunkLength = 0 then  // = AG
 09/11/2011
FChunkState := httpChunkDone  // = AG
 09/11/2011
else  // = AG
 09/11/2011
FChunkState := httpChunkGetData;
Inc(P);
Dec(N);
break;
end;
 --
 Arno Garrels
 --
 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

--
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] ICS HTTP Client POST fails in 6 out of 16 test cases

2011-09-11 Thread Arno Garrels
Fastream Technologies wrote:
 Nice try but not there yet. Test cases 8, 9, 10, 12, 13, 14 still
 fail. Best Regards,

Not for me, using OverbyteIcsHttpProt.pas V7.17. V7.15+ should work
as well. 



 
 SZ
 On Sun, Sep 11, 2011 at 09:46, Arno Garrels arno.garr...@gmx.de
 wrote: 
 
 Fastream Technologies wrote:
 Hello,
 
 I have had a coder code a PHP script for this purpose. In the script
 the buggy cases are marked in source. Just POSTed with ICS Post demo
 to IIS 7.5 and the bug showed its ugly face. Since we have a big
 customer awaiting the fix, if somebody could sacrifice his Sunday to
 help fix it out, we will donate $100 to him to his Paypal or
 share-it or whatever. The test case is at,
 
 Try this fix:
 
 procedure THttpCli.GetBodyLineNext;
 [..]
{ Here we simply ignore until next LF }
while N  0 do begin
 //  if P^ = #10 then begin
if Ord(FReceiveBuffer[P]) = 10 then begin // FP
09/09/06 if FChunkLength = 0 then
 // = AG 09/11/2011
FChunkState := httpChunkDone  // = AG
 09/11/2011
else  // = AG
 09/11/2011
FChunkState := httpChunkGetData;
Inc(P);
Dec(N);
break;
end;
 --
 Arno Garrels
 --
 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
--
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] ICS HTTP Client POST fails in 6 out of 16 test cases

2011-09-11 Thread Fastream Technologies
I have 7.17 but it still does not work! Could you send me the entire unit so
that I could compare?
Best Regards,

Gorkem Ates
*Fastream Technologies*
*Software IQ: Innovation  Quality*
http://www.iqproxyserver.com | http://www.fastream.com |
twitter.com/fastream
*Pbx:* +90-312-223-2830 (weekdays, 9am-6pm *GMT+300*)
Join *IQ Proxy Server email list *at
http://groups.yahoo.com/group/IQProxyServer
On Sun, Sep 11, 2011 at 10:33, Arno Garrels arno.garr...@gmx.de wrote:

 Fastream Technologies wrote:
  Nice try but not there yet. Test cases 8, 9, 10, 12, 13, 14 still
  fail. Best Regards,

 Not for me, using OverbyteIcsHttpProt.pas V7.17. V7.15+ should work
 as well.



 
  SZ
  On Sun, Sep 11, 2011 at 09:46, Arno Garrels arno.garr...@gmx.de
  wrote:
 
  Fastream Technologies wrote:
  Hello,
 
  I have had a coder code a PHP script for this purpose. In the script
  the buggy cases are marked in source. Just POSTed with ICS Post demo
  to IIS 7.5 and the bug showed its ugly face. Since we have a big
  customer awaiting the fix, if somebody could sacrifice his Sunday to
  help fix it out, we will donate $100 to him to his Paypal or
  share-it or whatever. The test case is at,
 
  Try this fix:
 
  procedure THttpCli.GetBodyLineNext;
  [..]
 { Here we simply ignore until next LF }
 while N  0 do begin
  //  if P^ = #10 then begin
 if Ord(FReceiveBuffer[P]) = 10 then begin // FP
 09/09/06 if FChunkLength = 0 then
  // = AG 09/11/2011
 FChunkState := httpChunkDone  // = AG
  09/11/2011
 else  // = AG
  09/11/2011
 FChunkState := httpChunkGetData;
 Inc(P);
 Dec(N);
 break;
 end;
  --
  Arno Garrels
  --
  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
 --
 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

--
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] ICS HTTP Client POST fails in 6 out of 16 test cases

2011-09-11 Thread Arno Garrels
Fastream Technologies wrote:
 I have 7.17 but it still does not work! Could you send me the entire
 unit so that I could compare?

http://svn.overbyte.be:8443/svn/ics/trunk/Delphi/Vc32/OverbyteIcsHttpProt.pas

I use the OverbyteIcsHttpTst demo out of the box, against
http://www.duodata.de/xtest.php?m=1

where m can be 1-16 

Can somebody else confirm?

-- 
Arno Garrels


 Best Regards,
 
 Gorkem Ates
 *Fastream Technologies*
 *Software IQ: Innovation  Quality*
 http://www.iqproxyserver.com | http://www.fastream.com |
 twitter.com/fastream
 *Pbx:* +90-312-223-2830 (weekdays, 9am-6pm *GMT+300*)
 Join *IQ Proxy Server email list *at
 http://groups.yahoo.com/group/IQProxyServer
 On Sun, Sep 11, 2011 at 10:33, Arno Garrels arno.garr...@gmx.de
 wrote: 
 
 Fastream Technologies wrote:
 Nice try but not there yet. Test cases 8, 9, 10, 12, 13, 14 still
 fail. Best Regards,
 
 Not for me, using OverbyteIcsHttpProt.pas V7.17. V7.15+ should work
 as well.
 
 
 
 
 SZ
 On Sun, Sep 11, 2011 at 09:46, Arno Garrels arno.garr...@gmx.de
 wrote:
 
 Fastream Technologies wrote:
 Hello,
 
 I have had a coder code a PHP script for this purpose. In the
 script the buggy cases are marked in source. Just POSTed with ICS
 Post demo to IIS 7.5 and the bug showed its ugly face. Since we
 have a big customer awaiting the fix, if somebody could sacrifice
 his Sunday to help fix it out, we will donate $100 to him to his
 Paypal or share-it or whatever. The test case is at,
 
 Try this fix:
 
 procedure THttpCli.GetBodyLineNext;
 [..]
{ Here we simply ignore until next LF }
while N  0 do begin
 //  if P^ = #10 then begin
if Ord(FReceiveBuffer[P]) = 10 then begin // FP
09/09/06 if FChunkLength = 0 then
 // = AG 09/11/2011
FChunkState := httpChunkDone  // =
 AG 09/11/2011
else  // =
 AG 09/11/2011
FChunkState := httpChunkGetData;
Inc(P);
Dec(N);
break;
end;
 --
 Arno Garrels
 --
 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 
 --
 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
--
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] ICS HTTP Client POST fails in 6 out of 16 test cases

2011-09-11 Thread Fastream Technologies
Sorry my error. Thank you so much for the fix! Please tell me your Paypal
email.
Best Regards,

Subzero
On Sun, Sep 11, 2011 at 11:01, Arno Garrels arno.garr...@gmx.de wrote:

 Arno Garrels wrote:
  Fastream Technologies wrote:
  I have 7.17 but it still does not work! Could you send me the entire
  unit so that I could compare?
 
 
 http://svn.overbyte.be:8443/svn/ics/trunk/Delphi/Vc32/OverbyteIcsHttpProt.pas

 Of course you have to add the three lines fix from my first reply!

 
  I use the OverbyteIcsHttpTst demo out of the box, against
  http://www.duodata.de/xtest.php?m=1
 
  where m can be 1-16
 
  Can somebody else confirm?
 
  --
  Arno Garrels
 
 
  Best Regards,
 
  Gorkem Ates
  *Fastream Technologies*
  *Software IQ: Innovation  Quality*
  http://www.iqproxyserver.com | http://www.fastream.com |
  twitter.com/fastream
  *Pbx:* +90-312-223-2830 (weekdays, 9am-6pm *GMT+300*)
  Join *IQ Proxy Server email list *at
  http://groups.yahoo.com/group/IQProxyServer
  On Sun, Sep 11, 2011 at 10:33, Arno Garrels arno.garr...@gmx.de
  wrote:
 
  Fastream Technologies wrote:
  Nice try but not there yet. Test cases 8, 9, 10, 12, 13, 14 still
  fail. Best Regards,
 
  Not for me, using OverbyteIcsHttpProt.pas V7.17. V7.15+ should work
  as well.
 
 
 
 
  SZ
  On Sun, Sep 11, 2011 at 09:46, Arno Garrels arno.garr...@gmx.de
  wrote:
 
  Fastream Technologies wrote:
  Hello,
 
  I have had a coder code a PHP script for this purpose. In the
  script the buggy cases are marked in source. Just POSTed with ICS
  Post demo to IIS 7.5 and the bug showed its ugly face. Since we
  have a big customer awaiting the fix, if somebody could sacrifice
  his Sunday to help fix it out, we will donate $100 to him to his
  Paypal or share-it or whatever. The test case is at,
 
  Try this fix:
 
  procedure THttpCli.GetBodyLineNext;
  [..]
 { Here we simply ignore until next LF }
 while N  0 do begin
  //  if P^ = #10 then begin
 if Ord(FReceiveBuffer[P]) = 10 then begin // FP
 09/09/06 if FChunkLength = 0 then
  // = AG 09/11/2011
 FChunkState := httpChunkDone  // =
  AG 09/11/2011
 else  // =
  AG 09/11/2011
 FChunkState := httpChunkGetData;
 Inc(P);
 Dec(N);
 break;
 end;
  --
  Arno Garrels
  --
  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
  --
  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
 --
 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

--
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] ICS HTTP Client POST fails in 6 out of 16 test cases

2011-09-11 Thread Arno Garrels
Fastream Technologies wrote:
 Sorry my error. Thank you so much for the fix! 

Just checked in the fix, source available via SVN now
or included in next daily snapshot:
http://wiki.overbyte.be/wiki/index.php/ICS_Download

-- 
Arno Garrels

 
 Subzero
 On Sun, Sep 11, 2011 at 11:01, Arno Garrels arno.garr...@gmx.de
 wrote: 
 
 Arno Garrels wrote:
 Fastream Technologies wrote:
 I have 7.17 but it still does not work! Could you send me the
 entire unit so that I could compare?
 
 
 http://svn.overbyte.be:8443/svn/ics/trunk/Delphi/Vc32/OverbyteIcsHttpProt.pas
 
 Of course you have to add the three lines fix from my first reply!
 
 
 I use the OverbyteIcsHttpTst demo out of the box, against
 http://www.duodata.de/xtest.php?m=1
 
 where m can be 1-16
 
 Can somebody else confirm?
 
 --
 Arno Garrels
 
 
 Best Regards,
 
 Gorkem Ates
 *Fastream Technologies*
 *Software IQ: Innovation  Quality*
 http://www.iqproxyserver.com | http://www.fastream.com |
 twitter.com/fastream
 *Pbx:* +90-312-223-2830 (weekdays, 9am-6pm *GMT+300*)
 Join *IQ Proxy Server email list *at
 http://groups.yahoo.com/group/IQProxyServer
 On Sun, Sep 11, 2011 at 10:33, Arno Garrels arno.garr...@gmx.de
 wrote:
 
 Fastream Technologies wrote:
 Nice try but not there yet. Test cases 8, 9, 10, 12, 13, 14 still
 fail. Best Regards,
 
 Not for me, using OverbyteIcsHttpProt.pas V7.17. V7.15+ should
 work as well.
 
 
 
 
 SZ
 On Sun, Sep 11, 2011 at 09:46, Arno Garrels arno.garr...@gmx.de
 wrote:
 
 Fastream Technologies wrote:
 Hello,
 
 I have had a coder code a PHP script for this purpose. In the
 script the buggy cases are marked in source. Just POSTed with
 ICS Post demo to IIS 7.5 and the bug showed its ugly face.
 Since we have a big customer awaiting the fix, if somebody
 could sacrifice his Sunday to help fix it out, we will donate
 $100 to him to his Paypal or share-it or whatever. The test
 case is at, 
 
 Try this fix:
 
 procedure THttpCli.GetBodyLineNext;
 [..]
{ Here we simply ignore until next LF }
while N  0 do begin
 //  if P^ = #10 then begin
if Ord(FReceiveBuffer[P]) = 10 then begin //
FP 09/09/06 if FChunkLength = 0 then
 // = AG 09/11/2011
FChunkState := httpChunkDone  //
 = AG 09/11/2011
else  //
 = AG 09/11/2011
FChunkState := httpChunkGetData;
Inc(P);
Dec(N);
break;
end;
 --
 Arno Garrels
 --
 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
 --
 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
 --
 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
--
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] ICS HTTP Client POST fails in 6 out of 16 test cases

2011-09-10 Thread Fastream Technologies
To test the code, just install PHP to IIS or Apache, then unrar test.php in
the root and POST anything to,

http://localhost/test.php?m=11

You will see that the component never returns anything and the next request
gives busy exception!
Best Regards,

SZ

On Sun, Sep 11, 2011 at 06:43, Fastream Technologies ga...@fastream.comwrote:

 Hello,

 I have had a coder code a PHP script for this purpose. In the script the
 buggy cases are marked in source. Just POSTed with ICS Post demo to IIS 7.5
 and the bug showed its ugly face. Since we have a big customer awaiting the
 fix, if somebody could sacrifice his Sunday to help fix it out, we will
 donate $100 to him to his Paypal or share-it or whatever. The test case is
 at,

 http://www.fastream.com/ics/ICSHTTPCliPostBugDemo.rar
 Currently it should not be possible to write a web service call code with
 ICS web client!

 Best Regards,

 SubZero

--
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] ICS v7 for XE2 online now - Thanks

2011-09-07 Thread Arno Garrels
Lester wrote:

 Thanks very much for releasing this.  Looks like it's time for another
 donation :)

Lester,

Many thanks for the Amazon voucher, that's motivating :)

-- 
Arno Garrels 

--
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] ICS v7 for XE2 online now - Thanks

2011-09-06 Thread Lester
I would like to repeat this thanks.  I've been a long time user of 
ICS-SSL, and very infrequently post (mostly because I never have any 
issues), and one thing that's been holding me back purchasing Delphi 
(own v7 and 2005, which I've never used) is lack of 64 bit compilers.  
I've purchased XE2 Professional now, and as a bonus I can also see I can 
compile for OSX.  Not needed though, the 64 bit is what has been keeping 
me from doing what I love most.


Thanks very much for releasing this.  Looks like it's time for another 
donation :)


Lester Clayton

On 02/09/2011 18:23, Francois PIETTE wrote:
I would like to send a special thank you to both Arno Garrels and 
Angus Robertson. ICS for Delphi XE2 64 bit is here because those two 
highly expermented volunteers worked hard. Double special thank you to 
Arno who made the 64 version alive.


---


--
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] ICS v7 for XE2 online now

2011-09-02 Thread Angus Robertson - Magenta Systems Ltd
 As you probably already noticed XE2 RTMed yesterday.

And ICS v7 now supports Delphi 64-bit projects, but there is no C++
64-bit compiler yet, that's planned for the next release. 

Angus


--
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] ICS v7 for XE2 online now

2011-09-02 Thread Fastream Technologies
On Fri, Sep 2, 2011 at 15:57, Angus Robertson - Magenta Systems Ltd 
an...@magsys.co.uk wrote:

  As you probably already noticed XE2 RTMed yesterday.

 And ICS v7 now supports Delphi 64-bit projects, but there is no C++
 64-bit compiler yet, that's planned for the next release.




Too bad. :-( Though we will still upgrade...
--
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] ICS v7 for XE2 online now

2011-09-02 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote:
 As you probably already noticed XE2 RTMed yesterday.
 
 And ICS v7 now supports Delphi 64-bit projects, but there is no C++
 64-bit compiler yet, that's planned for the next release.

Yep, and ICS is still for Windows only.
I already played a bit with MAC CoreFoundation API, CFRunLoop
until I found that the CFSocket API isn't the right approach IMO :(
Let's see..
 
-- 
Arno Garrels
--
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] ICS v7 for XE2 online now - Thanks

2011-09-02 Thread Francois PIETTE
I would like to send a special thank you to both Arno Garrels and Angus 
Robertson. ICS for Delphi XE2 64 bit is here because those two highly 
expermented volunteers worked hard. Double special thank you to Arno who 
made the 64 version alive.


---
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

-Message d'origine- 
From: Arno Garrels

Sent: Friday, September 02, 2011 1:42 PM
To: ICS support mailing
Subject: [twsocket] ICS v7 for XE2 online now

Hello All!

As you probably already noticed XE2 RTMed yesterday.
You'll find ICS on the XE2 partner DVD however I suggest to
always pick latest source code from the ICS wiki site,
preferably using a SVN client:
http://wiki.overbyte.be/wiki/index.php/ICS_Download
(There are already two small fixes included in the C++
Builder examples since partner DVD release)

The experimental IPv6 branch has been updated as well:
svn://svn.overbyte.be/ics/branches/icsipv6
or
http://svn.overbyte.be:8443/svn/ics/branches/icsipv6

Both user and password ics.

--
Arno Garrels






--
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 


--
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] ICS and Delphi XE2

2011-08-03 Thread Tobias Rapp
Angus Robertson - Magenta Systems Ltd wrote:
 ICS does not currently support FireMonkey or Mac OS-X, it needs a lot of
 work since Linux is not event driven like Windows, and makes use of
 threads to prevent blocking.  ICS did support Kylix for Linux several
 years ago, so some work has been done. 

Both other VCL-like cross-platform libraries I'm aware of (GLib/GTK+ and
Qt) include an abstraction of the underlying event system ([1] and [2]). I
don't understand why Embarcado should not use a similar approach and
includes a cross-platform event-system wrapper in FireMonkey. It would make
the life easier not only for ICS developers, I suppose.

BTW: I am not 100% sure but I think that at least GLib doesn't build its
event system on threads but on I/O signals for better performance.

Regards,
Tobias

Links:
[1] http://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html
[2] http://doc.qt.nokia.com/4.7/eventsandfilters.html

--
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] ICS and Delphi XE2

2011-08-03 Thread Angus Robertson - Magenta Systems Ltd
 There may be such an event system in FireMonkey, don't actually 
 know.

It seems Embarcadero bought KSDev earlier this year:  

http://www.ksdev.com/

and the feature page of VGScene may provide some hints about the
capabilies of FireMonkey, although Embarcadero may have changed
everything!

http://www.ksdev.com/wiki/index.php?title=VGScene

Angus

--
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] ICS and Delphi XE2

2011-08-03 Thread Tobias Rapp
Angus Robertson - Magenta Systems Ltd wrote:
 There may be such an event system in FireMonkey, don't actually know.
 
 But supporting ICS with FireMonkey and Mac OS-X is not simply a case of a
 few bug fixes and conditional compilation changes which is effectively
 all that is needed for 64-bit VCL support (and a massive effort from Arno
 testing it all!).  

Yes, I absolutely understand that. I'm as curious as you on what level
event handling will be supported by FireMonkey :-)

BTW: Thanks to the ICS team for their work on 64-bit VCL support!

Regards,
Tobias

--
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] ICS and Delphi XE2

2011-08-03 Thread Arno Garrels
Tobias Rapp wrote:
 Angus Robertson - Magenta Systems Ltd wrote:
 ICS does not currently support FireMonkey or Mac OS-X, it needs a
 lot of work since Linux is not event driven like Windows, and makes
 use of threads to prevent blocking.  ICS did support Kylix for Linux
 several years ago, so some work has been done.
 
 Both other VCL-like cross-platform libraries I'm aware of (GLib/GTK+
 and Qt) include an abstraction of the underlying event system ([1]
 and [2]). I don't understand why Embarcado should not use a similar
 approach and includes a cross-platform event-system wrapper in
 FireMonkey. It would make the life easier not only for ICS
 developers, I suppose. 
 
 BTW: I am not 100% sure but I think that at least GLib doesn't build
 its event system on threads but on I/O signals for better performance.

Well that's one aspect.
Additionally ICS uses the message-based Windows non-blocking socket
API. There doesn't exist something similiar on other platforms, at 
least not at such a low level AFAIK. Means non-blocking behavior had 
to be implemented using threads (as Windows implements that as well, 
under the hood) using the platform messaging/notification stuff 
available. 

The ICS for Kylix Angus mentioned isn't true xplat, though it
made porting Windows ICS apps to Linux easier. That version will
certainly run on MAC OSX/POSIX as well with just a few changes. 
However if we want a true cross platform ICS major parts would have
to be rewritten from scratch which were a lot of work and porting
existing code to such a ICSX certainly won't be a very simple task.

-- 
Arno Garrels





   
 
--
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] ICS in DLL. My report about results

2011-07-17 Thread breezesoftware
I'm continuing to try to grasp all the concepts required to implement
reliable threads. The last section of this tutorial has some example
programs that have helped me:
http://www.eonclash.com/Tutorials/Multithreading/MartinHarvey1.1/Ch14.html

Paul
--

Message: 1
Date: Sat, 16 Jul 2011 23:33:11 +0400
From: Anton S. an...@rambler.ru
Subject: Re: [twsocket] ICS in DLL. My report about results
To: twsocket@elists.org
Message-ID: op.vyp8lloi0cp...@pcfrost.netbynet.ru
Content-Type: text/plain; charset=windows-1251

Why don't you use initialization/finalization sections?
Do you really think that these sections are executed not from DLLMain?

--
Anton


--

--
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] ICS in DLL. My report about results

2011-07-16 Thread Anton S.
Why don't you use initialization/finalization sections?
Do you really think that these sections are executed not from DLLMain?

-- 
Anton
--
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] ICS in DLL. My report about results

2011-07-15 Thread Stan
Unfortunately DLLMain appeared to be a very tricky thing: you can't call methods from other DLLs from there (incl 

Yes, there is a lot of info about this in the Net.


I revised the situation but found only one way: provide special Start/Finish 
methods for init/cleanup.

Why don't you use initialization/finalization sections?

Best wishes,
Stan
--
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] ICS latest version for Delphi XE

2011-03-18 Thread Francois PIETTE

I just installed Delphi XE pro. Is http://wiki.overbyte.be/arch/icsv7w.zip
the latest version for ICS?


This is the latest SVN snapshot created automatically each day.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
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] ICS and XE Starter Editions

2011-02-07 Thread Angus Robertson - Magenta Systems Ltd
 I wonder if anybody already managed to install and run ICS in the 
 new Delphi/C++ Builder XE Starter Editions yet? Any problems?

Difficult to test, since XE Starter can not be installed if another
edition is already there, so it needs a new VM, which takes time.  

According to the newsgroups, the main issue with Starter Edition is the
lack of the command line compiler, which many large packages like JVCL
use for installation to avoid distributing numerous different prebuilt
packages for different Delphi versions.  

ICS does not include any prebuilt packages, and does not need the command
line compiler, so there should be no install issues.  

Angus

--
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] ICS Simple TCP Server

2011-01-31 Thread Francois PIETTE

I am running Windows 7-64 bit; Delphi 2007
I compiled and run OverbyteIcsClient7.dpr, ran outside of Delphi.
I compiled and run OverbyteIcsSrvTcp.dpr inside of delphi
I cannot see where to adjust the port, I will need 5151

I am trying to have a server listen on port 5151 and receive incoming
messages and based on the incoming message, process it. Simple.

Can you guide me to the correct demo.


In OverbyteIcsSrvTcp, the server code really reside in OverbyteIcsTcpCmd.pas 
unit in the TTcpDaemon object. That objet expose a port property having a 
default value of 2120 (Search every occurence of FPort in that unit and 
you'll understand the code easily).


To change the port, you can either change the default value hardcoded in 
OverbyteIcsTcpCmd.pas unit, or better assign a value to that property from 
the main code in the FormCreate event handle where an instance of TTcpDaemon 
is created, for example immediately after the line initialzing the banner 
property. You coudl get the port from a config file (ini or registry or 
whatever you like). You could aslo place the port initialisation in 
WMAppStartup procedure, just before the call to Start.

In both cases add a line: FTcpDaemon.Port := '5151';

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
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] ICS-based SNTP (Simple network time protocol) client

2010-12-21 Thread Anton S.
Francois wrote:
Actually, there is an ICS version for Linux :-)
Thanks! I downloaded it and examined. So, it's thread-based actually - not 
event-driven. You will still have a lot of work to port ICS provided that async 
model would stay for *nix :)

Any Vista or Windows 7 has IPv6 installed. You don't need special hardware.
Well, I meant time-servers who support IPv6.

2All:
my SNTP client is available for downoad at the Overbyte's Usermade page (demo 
included).

-- 
Anton
--
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] ICS-based SNTP (Simple network time protocol) client

2010-12-19 Thread Francois PIETTE

So the SNTP component is already testing with ICS for IPv6?
And with Delphi for Mac and Linux?


I'm afraid I hadn't got your point. Especially concerning Delphi for Mac 
and Linux.
There is still neither Delphi nor ICS for Mac/Linux (and porting ICS may 
be a greatly complicated task).


Actually, there is an ICS version for Linux :-) It is quite old now but 
still available for download. It requires Kylix to be compiled for Linux. 
Since MAC operating system is actually a kind of Unix, ICS for Kylix is 
likely to work without much changes when Embarcadero will publish his new 
version.


IP6 isn't tested as wel as multicast because I haven't this technologies 
and servers nearby.


Any Vista or Windows 7 has IPv6 installed. You don't need special hardware.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
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] ICS-based SNTP (Simple network time protocol) client

2010-12-18 Thread Anton S.
Angus wrote:
So the SNTP component is already testing with ICS for IPv6?  
And with Delphi for Mac and Linux?
I'm afraid I hadn't got your point. Especially concerning Delphi for Mac and 
Linux. There is still neither Delphi nor ICS for Mac/Linux (and porting ICS 
may be a greatly complicated task). IP6 isn't tested as wel as multicast 
because I haven't this technologies and servers nearby. But I'm not leaving my 
creation and will add features as soon as possible.

Arno wrote:
Don't you use SVN locally for version control?
I can't live without it, it's so easy with TortoiseSVN, and you
do not have to run a SVN server in your LAN. A shared, file based 
repository is enough (two mouse clicks to create a new repository).  
Well, for now a simple batch file which archives a project folder is still 
enough for me. I'm quite old-school at this, I know :)

-- 
Anton
--
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] ICS-based SNTP (Simple network time protocol) client

2010-12-17 Thread Anton S.
Francois wrote:
The problem is not that I don't want to expand ICS. The problem is to 
support ICS. There are a lot of interesting components that could be added 
to ICS. By moving it into usermade page, I'm not commited to support it. 
If included in ICS distribution, it has to be supported and kept up-to-date 
with current ICS and Delphi. A huge work actually.
Well, it's so simple that I guessed it wouldn't require any support or 
modifications.

Could you also write the text to be published on the usermade page ? Have a 
look at the other text to get inspired
I've sent you all the required files, hope I did everything correctly.

Arno wrote:
I wonder if a new usermade SVN repository wasn't a better place?
Most of the downloads from current ICS usermade page are obsolete.
Well, if these usermades are obsolete SVN would change nothing. 
And I personally am still not familiar with SVN, especially in committing a 
changes. Maybe others prefer old good archive down/uploading also :).

-- 
Anton
--
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] ICS-based SNTP (Simple network time protocol) client

2010-12-17 Thread Angus Robertson - Magenta Systems Ltd
 Well, it's so simple that I guessed it wouldn't require any support
 or modifications.

So the SNTP component is already testing with ICS for IPv6?  
And with Delphi for Mac and Linux?  

That is the issue with adding projects, the number that need checking and
fixing for new Delphi releases and ICS features keeps increasing. 

Angus


--
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] ICS usermade webpage

2010-12-17 Thread Angus Robertson - Magenta Systems Ltd
 So this message is a call to those authors: I'll be very happy if 
 you update your code to current ICS version and current (preferably 
 all) Delphi/BCB version.
 Most of the time, this updating is not a big problem. 

But since there have never been dates or Delphi or ICS versions supported
on the usermade submissions, no-one knows if anything has ever been
changed.  That's why I stopped submitting anything.  

Changing the html code to at least report the zip date stamp is trivial,
assuming those dates have not been lost during upload.  
I have suggested this before, probably more than once. 

Angus

--
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] ICS-based SNTP (Simple network time protocol) client

2010-12-17 Thread Arno Garrels
Anton S. wrote:
 Francois wrote:
 The problem is not that I don't want to expand ICS. The problem is to
 support ICS. There are a lot of interesting components that could be
 added to ICS. By moving it into usermade page, I'm not commited to
 support it. If included in ICS distribution, it has to be supported
 and kept up-to-date with current ICS and Delphi. A huge work
 actually. 
 Well, it's so simple that I guessed it wouldn't require any support
 or modifications. 
 
 Could you also write the text to be published on the usermade page ?
 Have a look at the other text to get inspired
 I've sent you all the required files, hope I did everything correctly.
 
 Arno wrote:
 I wonder if a new usermade SVN repository wasn't a better place?
 Most of the downloads from current ICS usermade page are obsolete.
 Well, if these usermades are obsolete SVN would change nothing.

I would not move existing usermade projects automatically only new 
ones and only if authors like it. Of course they should be familiar
with SVN. 

 And I personally am still not familiar with SVN, especially in
 committing a changes. Maybe others prefer old good archive
 down/uploading also :).  

Don't you use SVN locally for version control?
I can't live without it, it's so easy with TortoiseSVN, and you
do not have to run a SVN server in your LAN. A shared, file based 
repository is enough (two mouse clicks to create a new repository).   

-- 
Arno Garrels
--
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] ICS-based SNTP (Simple network time protocol) client

2010-12-15 Thread Arno Garrels
Francois PIETTE wrote:
 I don't think moving the content of the usermade page would change
 anything about update.
 I'm even less convinced that most of the usermade author would care
 about using a SVN to update their code.

You are obviously right otherwise there would have been more feedback. 
It's OK, less work for us anyway. 

-- 
Arno Garrels

--
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] ICS-based SNTP (Simple network time protocol) client

2010-12-14 Thread Angus Robertson - Magenta Systems Ltd
 I just completed a TSNTPCli class which performs time-sync with NTP 
 servers. I guess it might be included into standard ICS toolkit. 
 What do you think, is someone interested?

I did SNTP client and server 10 years ago, they are improved versions of
code from the usermade page:   

http://www.magsys.co.uk/delphi/magics.asp

Angus

--
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] ICS-based SNTP (Simple network time protocol) client

2010-12-14 Thread Francois PIETTE
I just completed a TSNTPCli class which performs time-sync with NTP 
servers.
I guess it might be included into standard ICS toolkit. What do you think, 
is someone interested?


Do you want an entry on the user made web page at ICS website ?

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
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] ICS-based SNTP (Simple network time protocol) client

2010-12-14 Thread Anton S.
Angus wrote:
I did SNTP client and server 10 years ago, they are improved versions of
code from the usermade page:

Ahhh what a trouble! Why I hadn't know that!
Anyway I like my implementation more :)

Francois wrote:
Do you want an entry on the user made web page at ICS website ?
Well, if you don't wish to expand ICS, it will work too. I'll polish the source 
and create simple demo and send it to you.

-- 
Anton
--
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] ICS-based SNTP (Simple network time protocol) client

2010-12-14 Thread Francois PIETTE

Do you want an entry on the user made web page at ICS website ?

Well, if you don't wish to expand ICS, it will work too.


The problem is not that I don't want to expand ICS. The problem is to 
support ICS. There are a lot of interesting components that could be added 
to ICS. By moving it into usermade page, I'm not commited to support it. 
If included in ICS distribution, it has to be supported and kept up-to-date 
with current ICS and Delphi. A huge work actually.



I'll polish the source and create simple demo and send it to you.


OK, thanks. It will surely interest many peoples.
Could you also write the text to be published on the usermade page ? Have a 
look at the other text to get inspired :-)


--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
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] ICS-based SNTP (Simple network time protocol) client

2010-12-14 Thread Arno Garrels
Francois PIETTE wrote:
 Do you want an entry on the user made web page at ICS website ?
 Well, if you don't wish to expand ICS, it will work too.
 
 The problem is not that I don't want to expand ICS. The problem is to
 support ICS. There are a lot of interesting components that could be
 added to ICS. By moving it into usermade page, I'm not commited to
 support it. If included in ICS distribution, it has to be supported
 and kept up-to-date with current ICS and Delphi. A huge work actually.
 
 I'll polish the source and create simple demo and send it to you.
 
 OK, thanks. It will surely interest many peoples.
 Could you also write the text to be published on the usermade page ?
 Have a look at the other text to get inspired :-)

I wonder if a new usermade SVN repository wasn't a better place?
Most of the downloads from current ICS usermade page are obsolete.
Seems like the effort to maintain those contributions is to high.
Just an idea, the new repro could be openend at sourceforge.net or
if Angus agrees on his servers? 

-- 
Arno Garrels
--
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] ICS-based SNTP (Simple network time protocol) client

2010-12-14 Thread Francois PIETTE
I don't think moving the content of the usermade page would change anything 
about update.
I'm even less convinced that most of the usermade author would care about 
using a SVN to update their code.
And I don't want to moved everything out of my website since I get some 
(small) revenue because of Google Ads. Each time someone clicks on an ad, I 
get a few cents. Not much money, but it pays the hosting. In the past I had 
several free hosting but each time I have been asked to go out because it 
was to much trafic for a free hosting. So advertising is needed to pay for 
the website. Would be good if more people click on the ads...


--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


- Original Message - 
From: Arno Garrels arno.garr...@gmx.de

To: ICS support mailing twsocket@elists.org
Sent: Tuesday, December 14, 2010 8:06 PM
Subject: Re: [twsocket] ICS-based SNTP (Simple network time protocol) client



Francois PIETTE wrote:

Do you want an entry on the user made web page at ICS website ?

Well, if you don't wish to expand ICS, it will work too.


The problem is not that I don't want to expand ICS. The problem is to
support ICS. There are a lot of interesting components that could be
added to ICS. By moving it into usermade page, I'm not commited to
support it. If included in ICS distribution, it has to be supported
and kept up-to-date with current ICS and Delphi. A huge work actually.


I'll polish the source and create simple demo and send it to you.


OK, thanks. It will surely interest many peoples.
Could you also write the text to be published on the usermade page ?
Have a look at the other text to get inspired :-)


I wonder if a new usermade SVN repository wasn't a better place?
Most of the downloads from current ICS usermade page are obsolete.
Seems like the effort to maintain those contributions is to high.
Just an idea, the new repro could be openend at sourceforge.net or
if Angus agrees on his servers?

--
Arno Garrels
--
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 


--
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] ICS IPv6 and multi-listening support for TWSocket and TWSocket server

2010-11-21 Thread Fastream Technologies
Hi Arno,

I have tried to install the Tortoise SVN client to my Win7Pro but it warned
for incompatibility with Vista/7. Do you recommend any other client or
should I ignore the warning?

Regards,

SZ

On Sat, Jun 19, 2010 at 7:49 PM, Arno Garrels arno.garr...@gmx.de wrote:

 Hi,

 still zero feedback on this stuff so far.
 I put a slightly modified version of the WebServ Demo online
 hopefully packets come thru: http://[2001:4dd0:ffca::111]

 Added multi-listening support for TWSocket and TWSocketServer.
 This time designed as suggested by Francois back in 2007 (please
 guys test it a lot and report possible bugs or improvements to the
 mailing list). There's a new Delphi demo showing IPv6 and multiple
 listing sockets in action, all you need to do is setting up a
 semicolon separated list of IP addresses and ports to listen on
 and call new method TcpMultiListen instead of Listen.

 Get the source with a svn client, URL is:
 svn://svn.overbyte.be/ics/branches/icsipv6
 User and password both ics.

 Since it's still in its own branch changes can be applied
 easily.

 --
 Arno Garrels

--
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] ICS FTP Client

2010-10-22 Thread Francois PIETTE
Apart from the first command, under normal circumstances all commands 
loaded

to the FTP client are as a result of a previous FTP client event being
generated. Occasionally I am detecting a FTP Component Not Ready error.

So the question is: Is there an FTP or some sort of network condition that
can produce this error message, or is it more likely that there is some
sneaky route in my code whereby a command can be loaded to the FTP client
before the previous command has finished.


Yes, it is likely to come from your application. You have to make sure the 
component has really finished his work, specially in case of error. Use 
OnrequestDone event to chain next request.


Sometimes it helps using PostMessage with a custom message and the writing 
the code in the corresponding message handler. Using PostMessage append a 
message to the message queue, meaning that all pending messages will be 
processed before your own message, so you are sure there is nothing pending.


--
francois.pie...@overbyte.be
http://www.overbyte.be

--
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] ICS FTP Client

2010-10-22 Thread Angus Robertson - Magenta Systems Ltd
 Apart from the first command, under normal circumstances all 
 commands loaded to the FTP client are as a result of a previous FTP
 client event being generated. Occasionally I am detecting a FTP
 Component Not Ready error.
 
 So the question is: Is there an FTP or some sort of network 
 condition that can produce this error message

There is no network condition that can generate this message.  It is
internal FTP client error when a new command is issued for RequestDone
has been called internally for the previous command.  

Are you using async or sync FTP commands in your application?  If the
former, you are totally responsible for not calling another command until
the last has finished.  Using sync commands, the error can occur if you
run the FTP client in a thread without using a message pump in the thread,
or an old version of FTP client without a fix I did a month ago. 

Angus



--
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] ICS FTP Client

2010-10-22 Thread Graham Powell
It is all Async and I think I am homing in on the problem. Some Drag  Drop
operation may be butting in the normal sequence of events.

Thanks for all your thoughts
Graham

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: 22 October 2010 16:47
To: twsocket@elists.org
Subject: Re: [twsocket] ICS FTP Client

 Apart from the first command, under normal circumstances all commands 
 loaded to the FTP client are as a result of a previous FTP client 
 event being generated. Occasionally I am detecting a FTP Component 
 Not Ready error.
 
 So the question is: Is there an FTP or some sort of network condition 
 that can produce this error message

There is no network condition that can generate this message.  It is
internal FTP client error when a new command is issued for RequestDone has
been called internally for the previous command.  

Are you using async or sync FTP commands in your application?  If the
former, you are totally responsible for not calling another command until
the last has finished.  Using sync commands, the error can occur if you run
the FTP client in a thread without using a message pump in the thread, or an
old version of FTP client without a fix I did a month ago. 

Angus



--
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

--
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] ICS V7 and TLS support

2010-10-15 Thread Zvone
 First off, does ICS V7 support the newest TLS version 1.2 ?

whatever 0.9.8n supports, ICS should support. so take a look what 098n
supports in openssl docs.

 dynamically when a ICS-SSL application starts ?

on first use (first connection), not when app starts but when SSL/TLS
component is used, or you can initialize / load libraries manually
when you init context - which is better because you can detect if
dll's are missing from the folder.

arno's example code:

try
GSSLEAY_DLL_Name := full path and filename;
GLIBEAY_DLL_Name := full path and filename;
MySslContext.InitContext;
except
// Something went wrong with loading OSSL, handle it.
end;


 There has been made bugfixes a.o. in the OpenSSL versions succeeding
 0.9.8e and 0.9.8h.
 Is ICS-SSL limited to 0.9.8e/h or can newer versions be used ?

ICS can use 0.9.8n which is more recent than both versions you
mention. You can find it here:
http://wiki.overbyte.be/wiki/index.php/ICS_Download

More recent is only 0.9.8o.

Occasionally, TeamICS makes new version builds and tests ICS against
them. 098n is not the latest but is stable. better choice only would
be 0.9.8o at the moment.
versions 1.xx are not yet stable so 098x are better for production
purposes but eventually they will replace 098x versions.

the above dlls don't require any external dependencies so are best for
use with your app probably.
--
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] ICS - What Is My IP

2010-09-14 Thread Graham Powell
Changed the Agent to some random word and now it's all working fine.

Many thanks for all your help.

And in answer to someone else. I wanted to use ICS because it's inherently
asynchronous.

Graham

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Francois PIETTE
Sent: 13 September 2010 18:18
To: ICS support mailing
Subject: Re: [twsocket] ICS - What Is My IP

 This returns a message from whatismyip.com saying that I have been 
 banned for 5 minutes for hitting the site too often.

 Is there something else I should set to prevent this response?

I would say: look at the user agent (Agent property). This is what a website
use to see which program is connecting.
Or maybe the url you gave is somehow tied to your old program. Where does
that URL comes from ?

--
francois.pie...@overbyte.be
http://www.overbyte.be

--
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

--
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] ICS - What Is My IP

2010-09-13 Thread Angus Robertson - Magenta Systems Ltd
 Is there an ICS example somewhere?

There are dozens of example ICS programs, and several that demonstrate
various aspects of the HTTP client component, accessing a simple web page
is about as easy as it gets. 

Angus

--
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] ICS - What Is My IP

2010-09-13 Thread Graham Powell
Easy when you know how. The only demo programs I can find are what were
installed with the ICS and none of them seem to tell me what I need to know.

I am doing this:

  HttpCli1.Url := 'http://www.whatismyip.com/automation/n09230945.asp';
  HttpCli1.GetAsync; 

This returns with the RequestDone event, an ErrorCode of 0 and the correct
RqType, but now what?

Graham

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: 13 September 2010 14:39
To: twsocket@elists.org
Subject: Re: [twsocket] ICS - What Is My IP

 Is there an ICS example somewhere?

There are dozens of example ICS programs, and several that demonstrate
various aspects of the HTTP client component, accessing a simple web page is
about as easy as it gets. 

Angus

--
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

--
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] ICS - What Is My IP

2010-09-13 Thread Fastream Technologies
Hi,

You should have a look at the httptst demo. You need to assign the
receivedstream and read the data in requestdone.

Regards,

SZ

On Mon, Sep 13, 2010 at 5:43 PM, Graham Powell gra...@deephaven.co.ukwrote:

 Easy when you know how. The only demo programs I can find are what were
 installed with the ICS and none of them seem to tell me what I need to
 know.

 I am doing this:

  HttpCli1.Url := 'http://www.whatismyip.com/automation/n09230945.asp';
  HttpCli1.GetAsync;

 This returns with the RequestDone event, an ErrorCode of 0 and the correct
 RqType, but now what?

 Graham

 -Original Message-
 From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
 Behalf Of Angus Robertson - Magenta Systems Ltd
 Sent: 13 September 2010 14:39
 To: twsocket@elists.org
 Subject: Re: [twsocket] ICS - What Is My IP

  Is there an ICS example somewhere?

 There are dozens of example ICS programs, and several that demonstrate
 various aspects of the HTTP client component, accessing a simple web page
 is
 about as easy as it gets.

 Angus

 --
 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

 --
 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

--
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] ICS - What Is My IP

2010-09-13 Thread Francois PIETTE
By using the Indy TIdHTTP and TIdIOHandlerStack it is very easy to use 
these

components to call http://www.whatismyip.com/automation/n09230945.asp to
return the Internet IP address. What I want to know is, what is the 
simplest
way to do this with the ICS components. The Indy components always seem 
not

to be as robust as they could be.
Is there an ICS example somewhere?


Here it is (not tested):

procedure TForm1.Button1Click(Sender: TObject);
begin
   HttpCli1.Url := 'http://www.whatismyip.com/automation/n09230945.asp';
   Httpcli1.RcvdStream := TMemoryStream.Create;
   HttpCli1.GetASync;
end;

procedure TForm1.HttpCli1RequestDone(Sender: TObject; RqType: THttpRequest;
 ErrCode: Word);
var
   Buf : AnsiString;
begin
   if ErrCode  0 then
   Memo1.Lines.Add('Failed ' + IntToStr(ErrCode))
   else if HttpCli1.StatusCode  200 then
   Memo1.Lines.Add('Failed. ' + IntToStr(HttpCli1.StatusCode) + ' ' + 
HttpCli1.ReasonPhrase)

   else begin
   SetLength(Buf, HttpCli1.RcvdStream.Size);
   Move(PAnsiChar(TMemoryStream(HttpCli1.RcvdStream).Memory)^, Buf[1], 
Length(Buf));

   Memo1.Lines.Add(Buf);
   end;
   HttpCli1.RcvdStream.Free;
end;

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
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


  1   2   3   4   5   6   >