Re: [twsocket] SSL server and CLient cert.
If I can chip in - I've used Comodo for a while and I'm sorry but their way of dealing with certifications are very complicated and ridden with delays. Godaddy works for me these days, not perfect of course, but it's all automated and no delays. Price is good, too. -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Fastream Technologies Sent: 15 June 2011 10:22 To: ICS support mailing Subject: Re: [twsocket] SSL server and CLient cert. AFAIK Comodo is the cheapest one. Regards, SubZero On Wed, Jun 15, 2011 at 11:11, daniel cc dan...@signedsource.com wrote: Okay, Thanks a lot :) I know the different between self made and not self made now. How about recommendations? can you guys recommend any commercial certs? I plan to buy.. Thanks -Original Message- From: Francois PIETTE Sent: Wednesday, June 15, 2011 10:43 AM To: ICS support mailing Subject: Re: [twsocket] SSL server and CLient cert. Anything that works for Apache would work since they use OpenSSL as well. Thanks for the response :) I am so sorry :(, forgot to tell... I am not using SSL for web communication, I am using the SSLServer and SSLClient for client to host connection. I believe this has got nothing to do with Apache because there is no apache used. What SZ is saying is that Apache and ICS both use OpenSSL. So any certificate OK for Apache is OK for OpenSSL and is OK for ICS. You can also use OpenSSL comand line utility to convert certificates for some format to other OpenSSL compatible format. I've done it to to convert a certificate exported from IE. -- 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 -- 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
[twsocket] FW: SSL server and CLient cert.
If I can chip in - I've used Comodo for a while and I'm sorry but their way of dealing with certifications are very complicated and ridden with delays. Godaddy works for me these days, not perfect of course, but it's all automated and no delays. Price is good, too. -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Fastream Technologies Sent: 15 June 2011 10:22 To: ICS support mailing Subject: Re: [twsocket] SSL server and CLient cert. AFAIK Comodo is the cheapest one. Regards, SubZero On Wed, Jun 15, 2011 at 11:11, daniel cc dan...@signedsource.com wrote: Okay, Thanks a lot :) I know the different between self made and not self made now. How about recommendations? can you guys recommend any commercial certs? I plan to buy.. Thanks -Original Message- From: Francois PIETTE Sent: Wednesday, June 15, 2011 10:43 AM To: ICS support mailing Subject: Re: [twsocket] SSL server and CLient cert. Anything that works for Apache would work since they use OpenSSL as well. Thanks for the response :) I am so sorry :(, forgot to tell... I am not using SSL for web communication, I am using the SSLServer and SSLClient for client to host connection. I believe this has got nothing to do with Apache because there is no apache used. What SZ is saying is that Apache and ICS both use OpenSSL. So any certificate OK for Apache is OK for OpenSSL and is OK for ICS. You can also use OpenSSL comand line utility to convert certificates for some format to other OpenSSL compatible format. I've done it to to convert a certificate exported from IE. -- 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 -- 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] XML RPC
Thanks again Francois It's a great help. Regards, Hein -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Francois PIETTE Sent: 21 April 2011 20:46 To: ICS support mailing Subject: Re: [twsocket] XML RPC It's unfortunately an existing API I need to interface with. No problem. As usual with XML, be prepare to have CPU and memory hungry piece of code. The encoding is Base64, so I'll need to find a delphi lib to get it back to regular XML. ICS has the functions to encode and decode base64. I was hoping for some autmation with the process, but looks like it's going to be a few late nights. Use Delphi RTTI for that purpose. -- 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 -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] XML RPC
Hi All Just a quick question. I need to interface to a XML RPC API, but I havent got the foggiest were to start. Could the ICS possibly assist? Regards, Hein -- 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] XML RPC
Thank you Francois It's unfortunately an existing API I need to interface with. The encoding is Base64, so I'll need to find a delphi lib to get it back to regular XML. I was hoping for some autmation with the process, but looks like it's going to be a few late nights. Have a good easter all. Regards, Hein -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Francois PIETTE Sent: 21 April 2011 20:22 To: ICS support mailing Subject: Re: [twsocket] XML RPC Just a quick question. I need to interface to a XML RPC API, but I havent got the foggiest were to start. Could the ICS possibly assist? XML RPC is a remote procedure call (RPC) protocol which uses XML to encode its calls and HTTP as a transport mechanism. XML-RPC also refers generically to the use of XML for remote procedure call, independently of the specific protocol. ICS can help because the transport layer (HTTP) is already there for client and server side. Where to start ? Look here: http://en.wikipedia.org/wiki/XML-RPC Once you understand the XML formatting, you use ICS to transport it. by the way, unless XML RPC is a requirement, there are much efficient ways of doing the same thing. One of the many is by using my other component library named MidWare (See my website). -- 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] Is the SVN server online?
Hi Suren We ran the system in debug on Friday, so I'll spend some time today and check back with Richard. Regards, Hein -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Fastream Technologies Sent: 22 November 2010 09:45 To: ICS support mailing Subject: Re: [twsocket] Is the SVN server online? How can I download the entire branch with the HTTP protocol? Any zip file? Regards, SZ On Mon, Nov 22, 2010 at 9:26 AM, Francois PIETTE francois.pie...@skynet.bewrote: I have found a newer version of Tortoise but the below URL that Arno posted gives connection error: svn://svn.overbyte.be/ics/branches/icsipv6 It works from here using TortoiseSVN 1.6.11 on Vista. Try with http http://svn.overbyte.be:8443/svn/ics/branches/icsipv6/ -- 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 -- 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] Concurrency of multiple THttpCli instances
Ek het so gehoop jy het ons nou heeltemal deurmekaar gemaak ;) -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of A Drent Sent: 11 November 2010 15:02 To: ICS support mailing Subject: Re: [twsocket] Concurrency of multiple THttpCli instances Sorry for this post, I was replying the wrong mail. albert - Original Message - From: A Drent albert.dr...@rug.nl To: ICS support mailing twsocket@elists.org Sent: Thursday, November 11, 2010 11:19 AM Subject: Re: [twsocket] Concurrency of multiple THttpCli instances Ok. T.a.v. het betalen op rekening, kun je t.a.v. het 'ontwerp' hier nu verder mee? vr.gr. Albert - Original Message - From: Arno Garrels arno.garr...@gmx.de To: ICS support mailing twsocket@elists.org Sent: Thursday, November 11, 2010 11:16 AM Subject: Re: [twsocket] Concurrency of multiple THttpCli instances Fastream Technologies wrote: So it's getting better but it uses less than 20% CPU overall (only 1 of 4 cores is utilized) and our ICS-based process uses only 10% in task manager! What may be preventing it to use 100%? Looks like your instances are running all in the same thread context, means the hidden ICS window(s) has been created in the same thread context. -- 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
[twsocket] TCP/IP Text chat over SSL
Hi all Can anybody suggest which controls to use and how so that I can build a simple p2p chat app that communicates over SSL? Many thanks, Hein -- 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] TCP/IP Text chat over SSL
Thank you very much Francois, I'll have a look. Regards, Hein -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Francois PIETTE Sent: 28 October 2010 17:28 To: ICS support mailing Subject: Re: [twsocket] TCP/IP Text chat over SSL Can anybody suggest which controls to use and how so that I can build a simple p2p chat app that communicates over SSL? ICS include a very basic chat application which can easily be recompiled with SSL enabled. See OverbyteIcsTWSChat project in Delphi/Internet folder where you installed ICS. -- 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 -- 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] OpenSSL v0.9.8h
Just tried it myself, it still hangs with me right at the end. Can somebody send me the link to OpenSSL on Francois' site? Thanks, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels Sent: 20 August 2008 08:39 To: ICS support mailing Subject: Re: [twsocket] OpenSSL v0.9.8h Angus Robertson - Magenta Systems Ltd wrote: I've tried to install: Win32 OpenSSL v0.9.8h Light But none of the installers finish, they just hang up right at the end. Ditto, I just tried to use the light installer, and had to crash it using Task Manager. But it did copy the actual SSL DLLs into the windows directory OK, which is not exactly a mind blowing complicated installation process. And the guy want $250 donations for his 'installer'. Just tried the 6MB Installer download (Win32OpenSSL-0_9_8h.exe) and that one installed o.k. -- 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] OpenSSL v0.9.8h
I've tried to install: Win32 OpenSSL v0.9.8h Light Win32 OpenSSL v0.9.8g Light But none of the installers finish, they just hang up right at the end. I've tried it on another computer as well. I've found gnuwin32 openssl 0.9.7c - would this matter? I've tried to run the batch file in order to build the certificates, but got some errors, although it's all because of the location of the opensll.exe. I can modify this. I just want to know if I can use 0.9.7c? Thanks, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels Sent: 19 August 2008 18:12 To: ICS support mailing Subject: [twsocket] OpenSSL v0.9.8h Guillaume ROQUES wrote: I checked it before, because the error handle show me the DLL that I have, the registered DLL is from my subversion local server which is in 0.9.8.7...the version known by ICS is v0.9.8e. ?? Nevertheless, I'll download the DLL you provided us allbut I don't understand the difference. Check the SVN repository it now runs with OpenSSL v0.9.8e to v0.9.8h. svn://svn.overbyte.be/ics/ http://svn.overbyte.be:8443/svn/ics/ ( User: ics Password: ics ) Latest OpenSSL installers are available here: http://www.slproweb.com/products/Win32OpenSSL.html -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.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 -- 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] OpenSSL v0.9.8h
I saw the same, but the openssl.exe file seems corrupt after terminating the installation. I've sent an email to their support address just to get a bounce that the mail server does not exist. *sob* I just want to get SSL working! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: 19 August 2008 20:36 To: twsocket@elists.org Subject: Re: [twsocket] OpenSSL v0.9.8h I've tried to install: Win32 OpenSSL v0.9.8h Light But none of the installers finish, they just hang up right at the end. Ditto, I just tried to use the light installer, and had to crash it using Task Manager. But it did copy the actual SSL DLLs into the windows directory OK, which is not exactly a mind blowing complicated installation process. And the guy want $250 donations for his 'installer'. 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
[twsocket] SSL Help
Hi guys I need some help again. How do I go about adding SSL support on the TWSocket control? I have the certificate for the server I need to connect to, but I have no idea how to install it on the socket layer. I also assume I need a local certificate - how do I create, install and use it? Sorry for the newbie question, but I've really searched for some sample code with no luck. Any help appreciated! Regards, Hein -- 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] SSL Help
Hi Angus I could not find any SSL specific samples in my SSLINTERNET folder. I'm using the V6Beta download. I haven't been looking at ICS source code. I've had a quick look now and from what I can see: { You must define USE_SSL so that SSL code is included in the component. } { To be able to compile the component, you must have the SSL related files } { which are _NOT_ freeware. See http://www.overbyte.be for details. } Can I buy it? It's really difficult for me to deduce how to implement SSL as a user. Thanks, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: 18 August 2008 12:02 To: twsocket@elists.org Subject: Re: [twsocket] SSL Help I need some help again. How do I go about adding SSL support on the TWSocket control? but I've really searched for some sample code with no luck. Have you looked at all the sample SSL projects in the SSLINTERNET sub-directory? Or at the source code of all the existing components that have been converted to support SSL, like FTP, HTTP, etc, all of which 'add SSL to TWSocket''. 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] SSL Help
Hi Arno Yes, a client certificate. This is not for html but for a custom tcp/ip protocol. The supplier (sever) maintains I need one for my application despite my arguments :) I've purchased Clever ICS and I get a local certificate not found or equivalent and they don't have samples of implementing it either. Thanks, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels Sent: 18 August 2008 12:09 To: ICS support mailing Subject: Re: [twsocket] SSL Help I have the certificate for the server I need to connect to, Are you talking about client certificates? Usually servers do not request a (client)certificate from the client. When you connect to, i.e., https://www.microsoft.com the server sends one or multiple certificates to the client. Client's job is to verify the server certificate(s). The client checks the received certificate(s) against a list of trusted root certificates, have look at the Https demo application. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Hein du Plessis wrote: Hi guys I need some help again. How do I go about adding SSL support on the TWSocket control? I have the certificate for the server I need to connect to, but I have no idea how to install it on the socket layer. I also assume I need a local certificate - how do I create, install and use it? Sorry for the newbie question, but I've really searched for some sample code with no luck. Any help appreciated! Regards, Hein -- 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] SSL Help
Thanks Angus, I've followed the ICS link on the left from the home page, which took me to the same downloads I have. I've now used the quicklinks to latest ICS version which redirected me to ics.zip which seems to be newer - is this correct? Thanks, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: 18 August 2008 13:15 To: twsocket@elists.org Subject: Re: [twsocket] SSL Help I'm using the V6Beta download. Can I buy it? You are using an old version, you need to download the latest V6 from the web site, which now includes SSL for free, as it says on the web site, and as announced in this mailing list last week. 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] SSL Help
Arno, I meant Clever Components Internet Connectivity Suite. A commercial solution, but support is slow... I'll check out the new download I was referred to by Angus. Regards, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels Sent: 18 August 2008 13:25 To: ICS support mailing Subject: Re: [twsocket] SSL Help Hein du Plessis wrote: Hi Arno Yes, a client certificate. This is not for html but for a custom tcp/ip protocol. The supplier (sever) maintains I need one for my application despite my arguments :) Again, look at the Https demo, it handles client certificates. The SSL-enabled components have a published property OnSslCliCertRequest. I've purchased Clever ICS and I get a local certificate not found or equivalent and they don't have samples of implementing it either. What is Clever ICS? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Thanks, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels Sent: 18 August 2008 12:09 To: ICS support mailing Subject: Re: [twsocket] SSL Help I have the certificate for the server I need to connect to, Are you talking about client certificates? Usually servers do not request a (client)certificate from the client. When you connect to, i.e., https://www.microsoft.com the server sends one or multiple certificates to the client. Client's job is to verify the server certificate(s). The client checks the received certificate(s) against a list of trusted root certificates, have look at the Https demo application. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Hein du Plessis wrote: Hi guys I need some help again. How do I go about adding SSL support on the TWSocket control? I have the certificate for the server I need to connect to, but I have no idea how to install it on the socket layer. I also assume I need a local certificate - how do I create, install and use it? Sorry for the newbie question, but I've really searched for some sample code with no luck. Any help appreciated! Regards, Hein -- 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] SSL Help
Hi Angus I'm beeing a pain, but I'n unable to find the latest V6 on the site, nor can I find the release article in the archives of this list. Following the menu on the left of the page takes me to: ICS V6 for Delphi 7 and up Beta (Nov 14, 2007) Following the quick link at the top takes me to ics.zip, which has copyright 2006 in it and no reference to ssl, so I assume it's old as well. Can you perhaps grant me a direct download link? Thanks again Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: 18 August 2008 13:15 To: twsocket@elists.org Subject: Re: [twsocket] SSL Help I'm using the V6Beta download. Can I buy it? You are using an old version, you need to download the latest V6 from the web site, which now includes SSL for free, as it says on the web site, and as announced in this mailing list last week. 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] SSL Help
Thanks Angus! I've tried another browser and control+refresh, but I still only see this page: http://cde.co.za/shared/hein/overbyte.jpg Very weird. Maybe I'm not seeing it! However your link works perfectly! I see many references SSL - will check it out! Thanks, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angus Robertson - Magenta Systems Ltd Sent: 18 August 2008 14:53 To: twsocket@elists.org Subject: Re: [twsocket] SSL Help 'm beeing a pain, but I'n unable to find the latest V6 on the site, The ICS web site does use a lot of frames, scripts and redirections making it very hard to bookmark pages and files. You must be looking at an old cached version from somewhere, the latest page is dated Aug 12 is very small type at the top of: http://www.overbyte.be/frame_index.html?redirTo=/products/ics.html and the current V6 download is: http://www.overbyte.be/arch/OverbyteIcsV6_RC1.zip but this name may be quickly obsolete once a final release is done. 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] SSL Help
No sweat, glad to be of service :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francois Piette Sent: 18 August 2008 15:23 To: ICS support mailing Subject: Re: [twsocket] SSL Help I've now used the quicklinks to latest ICS version which redirected me to ics.zip which seems to be newer - is this correct? Possible that I forgot to update quick links ! Sorry. -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) 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] Using TWSocket
I have tried to ctrl+click to find the delcaration, but it would not. Can somebody perhaps point me to a sample using send? Thanks again, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francois PIETTE Sent: 14 August 2008 20:02 To: ICS support mailing Subject: Re: [twsocket] Using TWSocket functionSend(const Data : TWSocketData; Len : Integer) : Integer; overload; virtual; What is TWSocketData ?? In Delphi, your CTRL+Click on the symbol to find the definition. Find in files also work nice. -- [EMAIL PROTECTED] 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: Hein du Plessis [EMAIL PROTECTED] To: 'ICS support mailing' twsocket@elists.org Sent: Thursday, August 14, 2008 6:38 PM Subject: Re: [twsocket] Using TWSocket Just another note, the declaration of Send is: functionSend(const Data : TWSocketData; Len : Integer) : Integer; overload; virtual; What is TWSocketData ?? Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of brian Sent: 14 August 2008 18:08 To: ICS support mailing Subject: Re: [twsocket] Using TWSocket Then you can either use .send with a memory pointer or load the entire xml into a string - Original Message - From: Hein du Plessis [EMAIL PROTECTED] To: 'ICS support mailing' twsocket@elists.org Sent: Thursday, August 14, 2008 5:44 PM Subject: Re: [twsocket] Using TWSocket Thanks Brian Unfortunately the application on the server requires a binary length indicator first, followed by XML. The XML part is easy with the SendStr function. Thanks, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of brian Sent: 14 August 2008 17:29 To: ICS support mailing Subject: Re: [twsocket] Using TWSocket you can use SendStr to send a simple text - Original Message - From: Hein du Plessis [EMAIL PROTECTED] To: twsocket@elists.org Sent: Thursday, August 14, 2008 4:59 PM Subject: [twsocket] Using TWSocket Hi All I'm trying to write a simple TCP/IP app but I'm not sure how to actually send data. The Send Method of ICS v6 requires a data type TWSocketData, yet the documentation states it needs a pointer. On the ICS page there is mention of a sample app, Client5, that would probably solve my problem, but I'm unable to find it in the download package of ICS V6. This is for Delphi. Any help appreciated! Thanks, Hein -- 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 -- 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] Using TWSocket
Thanks Francois I declared p as TWSocketData, assigned my data to it and Send sends it perfectly! Strange that I cant use my data straight in the send method (I get the type mismatch error). Thanks again! Regards, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francois PIETTE Sent: 15 August 2008 09:03 To: ICS support mailing Subject: Re: [twsocket] Using TWSocket I have tried to ctrl+click to find the delcaration, but it would not. Have you tried CTRL+SHFT+F (Find in files) ? This always work ! TWSocketData is defined in WSockBuf.pas like this: TWSocketData = type Pointer; If you need to use it in you own application, just add OverbyteIcsWSockBuf in your uses clause. You can cast Sample code (Not real code, just to show syntax examples): procedure TForm3.Button1Click(Sender: TObject); var Buf1 : array [0..1023] of char; Buf2 : Integer; Buf3 : PChar; begin WSocket1.Send(@Buf1, SizeOf(Buf1)); // Send 1024 bytes WSocket1.Send(@Buf2, SizeOf(Buf2)); // send the 4 bytes of the integer WSocket1.Send(Buf3, 123);// Send 123 chars pointed by Buf3 end; -- [EMAIL PROTECTED] 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: Hein du Plessis [EMAIL PROTECTED] To: 'ICS support mailing' twsocket@elists.org Sent: Friday, August 15, 2008 8:08 AM Subject: Re: [twsocket] Using TWSocket I have tried to ctrl+click to find the delcaration, but it would not. Can somebody perhaps point me to a sample using send? Thanks again, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francois PIETTE Sent: 14 August 2008 20:02 To: ICS support mailing Subject: Re: [twsocket] Using TWSocket functionSend(const Data : TWSocketData; Len : Integer) : Integer; overload; virtual; What is TWSocketData ?? In Delphi, your CTRL+Click on the symbol to find the definition. Find in files also work nice. -- [EMAIL PROTECTED] 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: Hein du Plessis [EMAIL PROTECTED] To: 'ICS support mailing' twsocket@elists.org Sent: Thursday, August 14, 2008 6:38 PM Subject: Re: [twsocket] Using TWSocket Just another note, the declaration of Send is: functionSend(const Data : TWSocketData; Len : Integer) : Integer; overload; virtual; What is TWSocketData ?? Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of brian Sent: 14 August 2008 18:08 To: ICS support mailing Subject: Re: [twsocket] Using TWSocket Then you can either use .send with a memory pointer or load the entire xml into a string - Original Message - From: Hein du Plessis [EMAIL PROTECTED] To: 'ICS support mailing' twsocket@elists.org Sent: Thursday, August 14, 2008 5:44 PM Subject: Re: [twsocket] Using TWSocket Thanks Brian Unfortunately the application on the server requires a binary length indicator first, followed by XML. The XML part is easy with the SendStr function. Thanks, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of brian Sent: 14 August 2008 17:29 To: ICS support mailing Subject: Re: [twsocket] Using TWSocket you can use SendStr to send a simple text - Original Message - From: Hein du Plessis [EMAIL PROTECTED] To: twsocket@elists.org Sent: Thursday, August 14, 2008 4:59 PM Subject: [twsocket] Using TWSocket Hi All I'm trying to write a simple TCP/IP app but I'm not sure how to actually send data. The Send Method of ICS v6 requires a data type TWSocketData, yet the documentation states it needs a pointer. On the ICS page there is mention of a sample app, Client5, that would probably solve my problem, but I'm unable to find it in the download package of ICS V6. This is for Delphi. Any help appreciated! Thanks, Hein -- 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 -- To unsubscribe or change your settings for TWSocket mailing list please goto http
Re: [twsocket] Using TWSocket
Hi There Here is the entire routine: procedure TfrmMain.btnRequestClick(Sender: TObject); var XMLData: TStringStream; SizeData: TMemoryStream; Msg: String; Size: Word; p: TWSocketData; begin {Package and send} Msg:= BuildVendRequest(edSeq.Value,edReference.Text,114.50,'0100032'); XMLData := TStringStream.Create(Msg); SizeData:= TMemoryStream.Create; Size:= length (Msg); Size:= Swap(Size); p:= @Size; LogMessage('Sending Request...'); WSocket.BufSize:= 2; p:= @Size; WSocket.Send(Size,2); // THIS IS THE PROBLEM. IT WORKS IF I NOW USE P as the parameter. WSocket.SendStr(Msg); XMLData.Free; SizeData.Free; end; Just change -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francois PIETTE Sent: 15 August 2008 12:23 To: ICS support mailing Subject: Re: [twsocket] Using TWSocket The error I received was There is no overloaded version of Send that can be called with these arguments. This is when I try to send a variable of type word. The @ prefix did not work either. Would be REALLY interesting to see the offending line ! I'm using Delphi 2007 Version 11.0.2804.9245 I'm not sure if there are further updates available. This is an old version. Latest is 11.0.2902.10471 See http://cc.codegear.com/reg/delphi and download/install everything ! -- [EMAIL PROTECTED] 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 -- 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] Using TWSocket
Hi, Yes in the mean time I've adjusted the code, please see previous email. Regards, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francois PIETTE Sent: 15 August 2008 14:09 To: ICS support mailing Subject: Re: [twsocket] Using TWSocket The error I received was There is no overloaded version of Send that can be called with these arguments. This is when I try to send a variable of type word. The @ prefix did not work either. WSocket.BufSize:= 2; p:= @Size; WSocket.Send(p); TWSocket.Send require two arguments: 1) A pointer to the data 2) The number of bytes to send Write like this WSocket.Send(@Size, SizeOf(Size)); // or Length(Size) depending on what Size is. WSocket.BufSize:= 2; BufSize is the size of TWSocket send buffer. Do not change it unless you understand what the purpose is. The default value is best for sending over Ethernet because it correspond to the maximum data size of an Ethernet packet. -- [EMAIL PROTECTED] 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 -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] Using TWSocket
Hi All I'm trying to write a simple TCP/IP app but I'm not sure how to actually send data. The Send Method of ICS v6 requires a data type TWSocketData, yet the documentation states it needs a pointer. On the ICS page there is mention of a sample app, Client5, that would probably solve my problem, but I'm unable to find it in the download package of ICS V6. This is for Delphi. Any help appreciated! Thanks, Hein -- 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] Using TWSocket
Thanks Brian Unfortunately the application on the server requires a binary length indicator first, followed by XML. The XML part is easy with the SendStr function. Thanks, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of brian Sent: 14 August 2008 17:29 To: ICS support mailing Subject: Re: [twsocket] Using TWSocket you can use SendStr to send a simple text - Original Message - From: Hein du Plessis [EMAIL PROTECTED] To: twsocket@elists.org Sent: Thursday, August 14, 2008 4:59 PM Subject: [twsocket] Using TWSocket Hi All I'm trying to write a simple TCP/IP app but I'm not sure how to actually send data. The Send Method of ICS v6 requires a data type TWSocketData, yet the documentation states it needs a pointer. On the ICS page there is mention of a sample app, Client5, that would probably solve my problem, but I'm unable to find it in the download package of ICS V6. This is for Delphi. Any help appreciated! Thanks, Hein -- 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] Using TWSocket
I'm doing this: Var p: Pointer; Size: Word; WSocket.BufSize:= 2; p:= @Size; WSocket.Send(p); I'm getting There's no overloaded version of 'Send' that can be called with these arguments. If I can just get those two bytes out, I can send the XML message as a string in sendstr as you've said. Thanks ahead Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of brian Sent: 14 August 2008 18:08 To: ICS support mailing Subject: Re: [twsocket] Using TWSocket Then you can either use .send with a memory pointer or load the entire xml into a string - Original Message - From: Hein du Plessis [EMAIL PROTECTED] To: 'ICS support mailing' twsocket@elists.org Sent: Thursday, August 14, 2008 5:44 PM Subject: Re: [twsocket] Using TWSocket Thanks Brian Unfortunately the application on the server requires a binary length indicator first, followed by XML. The XML part is easy with the SendStr function. Thanks, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of brian Sent: 14 August 2008 17:29 To: ICS support mailing Subject: Re: [twsocket] Using TWSocket you can use SendStr to send a simple text - Original Message - From: Hein du Plessis [EMAIL PROTECTED] To: twsocket@elists.org Sent: Thursday, August 14, 2008 4:59 PM Subject: [twsocket] Using TWSocket Hi All I'm trying to write a simple TCP/IP app but I'm not sure how to actually send data. The Send Method of ICS v6 requires a data type TWSocketData, yet the documentation states it needs a pointer. On the ICS page there is mention of a sample app, Client5, that would probably solve my problem, but I'm unable to find it in the download package of ICS V6. This is for Delphi. Any help appreciated! Thanks, Hein -- 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 -- 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] Using TWSocket
Just another note, the declaration of Send is: functionSend(const Data : TWSocketData; Len : Integer) : Integer; overload; virtual; What is TWSocketData ?? Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of brian Sent: 14 August 2008 18:08 To: ICS support mailing Subject: Re: [twsocket] Using TWSocket Then you can either use .send with a memory pointer or load the entire xml into a string - Original Message - From: Hein du Plessis [EMAIL PROTECTED] To: 'ICS support mailing' twsocket@elists.org Sent: Thursday, August 14, 2008 5:44 PM Subject: Re: [twsocket] Using TWSocket Thanks Brian Unfortunately the application on the server requires a binary length indicator first, followed by XML. The XML part is easy with the SendStr function. Thanks, Hein -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of brian Sent: 14 August 2008 17:29 To: ICS support mailing Subject: Re: [twsocket] Using TWSocket you can use SendStr to send a simple text - Original Message - From: Hein du Plessis [EMAIL PROTECTED] To: twsocket@elists.org Sent: Thursday, August 14, 2008 4:59 PM Subject: [twsocket] Using TWSocket Hi All I'm trying to write a simple TCP/IP app but I'm not sure how to actually send data. The Send Method of ICS v6 requires a data type TWSocketData, yet the documentation states it needs a pointer. On the ICS page there is mention of a sample app, Client5, that would probably solve my problem, but I'm unable to find it in the download package of ICS V6. This is for Delphi. Any help appreciated! Thanks, Hein -- 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 -- 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