Re: [twsocket] TWSocket
Hi Francois, Thanks for the response. I am trying to build a server and client application as following, Server is placed in our office and clients are all around the country in different locations. Connection from the client to the server will be made by using SSH tunnel (port 22) which will make it safe. I need my client to be able to send the status of itself to the server like every 10 minutes which will tell to the server if the client is on and okay. From my server, I need to be able to send messages to the client such as: reboot machine, change ip addresses, change screen resolution etc. The whole system will be just for monitoring the clients and I don't need database at all, that is why I was wondering about the database. Both of the demos are my by you and the versions are, Server demo: Creation: 8 december 1997 Version: 1.02 I would be very happy if you could provide me with new demo of this if you think this is too old. Client demo: Creation: 8 december 1997 Version: 1.07 I actually couldn't find anything newer in my component package which is the latest just a month old (v7). With best regards -Original Message- From: Francois PIETTE Sent: Thursday, January 13, 2011 9:28 AM To: ICS support mailing Subject: Re: [twsocket] TWSocket Hello Daniel, I am trying toa build server nd client application, Do we have any demos in our component package? if yes, Under what name? I have found the demos but, There is Datatables in the server demo and was wondering, What is that for and what it does? Please be more specific about the demo you are looking at. There are a lot of demos ! Which kind of client/server application do you want to build ? If it is more related to databse, maybe you'd better look at my second componetn suite named MidWare. -- 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] TWSocket
Connection from the client to the server will be made by using SSH tunnel (port 22) which will make it safe. ICS does not support SSH. I need my client to be able to send the status of itself to the server like every 10 minutes which will tell to the server if the client is on and okay. From my server, I need to be able to send messages to the client such as: reboot machine, change ip addresses, change screen resolution etc. The whole system will be just for monitoring the clients and I don't need database at all, that is why I was wondering about the database. Trivial stuff, I did all this with a SQL database several years ago, 500 clients contacting three 'activity' servers updating their status into a SQL database. The database stored pending commands for the clients to reboot, install new software, report temperatures and fan speeds once a minute (lots of fans failed one summer, causing CPUs to die) and everything was presented on numerous web pages, with a GUI to send new commands. You just design your own ASCII based TCP/IP protocol, simple command packets terminated with CRLF, send them using TWSocket and receive them with TSocketServer, this is two commands from the client (CV) and responses from the server (CS), fields delimited with |, all ASCII to make logging easy: TxData: CV121RML-0002|NN130120080707-170202|20080707-170204|| RxData: CS010PC08|20080707-160204|0|RML-0002| TxData: CV331RML-0002|PC13| RxData: CS330PC08|20080707-080308|119|0| You can get this working in 30 minutes using Magenta Systems IP Log Streaming Component from: http://www.magsys.co.uk/delphi/magics.asp Designing the actual protocol commands will take longer, and implementing the client software to change IP addresses is a lot harder, but a lot of my Delphi components were designed for exactly that, the Internet Protocol Helper stuff checks IPs, the WMI component changes IPs, the Code Signing and Trust component check you are installing non-corrupted software, the SMART and Check Disk components makes sure the client PC drives are not corrupt, etc, etc. 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] TWSocket
Server is placed in our office and clients are all around the country in different locations. Doesn't matter as far as programming is concerned. Connection from the client to the server will be made by using SSH tunnel (port 22) which will make it safe. Do not use SSH. Use SSL instead. SSH is an old beast which as been designed for terminal emulation on Unix like system. SSL is a well know secure protocol used everywhere for most sensitive operations (All protocols ending with S such as HTTPS and FTPS are using SSL). ICS fully support SSL. I need my client to be able to send the status of itself to the server like every 10 minutes which will tell to the server if the client is on and okay. From my server, I need to be able to send messages to the client such as: reboot machine, change ip addresses, change screen resolution etc. The whole system will be just for monitoring the clients and I don't need database at all, that is why I was wondering about the database. Basic operation. See Angus answer. You have to design your own simple message based protocol and implement both client and server side. Basically it is quite easy. Just ask more questions if you don't know where to start. Both of the demos are my by you and the versions are, Server demo: Creation: 8 december 1997 Version: 1.02 I would be very happy if you could provide me with new demo of this if you think this is too old. Client demo: Creation: 8 december 1997 Version: 1.07 OK, but what are the project names ? There are so much. I suggest you start your prohramming from OverbyteIcsSvcTcp.dproj (A windows service) or OverbyteIcsSrvTcp (A GUI application). Both demos are using the same object to implement the server operation. Making them SSL enabled is quite easy but I'm not sure you really need SSL since you design both client and server, you may use basic encryption such as DES which is included in ICS. Depends on your requirements. For client side, OverbyteIcsCliDemo.dproj is probably more than enough to get you started. I actually couldn't find anything newer in my component package which is the latest just a month old (v7). Most samples have been created long time ago and maintened. One gold rule with ICS update is don't break existing code. This means old code still works perfectly :-) -- 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] TWSocket
Hi Francois, I am trying to test this server demo, OverbyteIcsSrvDemo but I simply can't move it anywhere because it keeps askin about missing clients.dbf I found the this this file in the directory and copied to the same directory where I keep the exe but it still keeps asking about the same file. I would very much like to know, What this DBF is doing in the demo project and do we have any plain demos? I mean by plain: A demo which only shows how to use the components with out anything extra. Best regards -Original Message- From: Francois PIETTE Sent: Thursday, January 13, 2011 12:46 PM To: ICS support mailing Subject: Re: [twsocket] TWSocket Server is placed in our office and clients are all around the country in different locations. -- 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] Limiting THttpCli response header size
Hello, There seems to be no check for header size. I first thought I could do it in OnHeaderData but this event is only triggered when CRLF is read from web server. Any idea if this could be implemented in application? If it's not possible, any way to do it in the component level? We just need a property (possibly with 32KB default value) called HeaderSizeLimit for the component. Best Regards, SZ -- 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] TWSocket
OverbyteIcsSrvDemo but I simply can't move it anywhere because it keeps askin about missing clients.dbf I found the this this file in the directory and copied to the same directory where I keep the exe but it still keeps asking about the same file. You have also to copy client.mdx which is the index. What this DBF is doing in the demo project and do we have any plain demos? A demo always has something more or less useful to do. Many people ask for accessing data at server side. I mean by plain: A demo which only shows how to use the components with out anything extra. Then have a look at other demos... for example those I pointed to you in my previous message. -- 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: daniel cc dan...@signedsource.com To: ICS support mailing twsocket@elists.org Sent: Thursday, January 13, 2011 2:42 PM Subject: Re: [twsocket] TWSocket Hi Francois, I am trying to test this server demo, OverbyteIcsSrvDemo but I simply can't move it anywhere because it keeps askin about missing clients.dbf I found the this this file in the directory and copied to the same directory where I keep the exe but it still keeps asking about the same file. I would very much like to know, What this DBF is doing in the demo project and do we have any plain demos? I mean by plain: A demo which only shows how to use the components with out anything extra. Best regards -Original Message- From: Francois PIETTE Sent: Thursday, January 13, 2011 12:46 PM To: ICS support mailing Subject: Re: [twsocket] TWSocket Server is placed in our office and clients are all around the country in different locations. -- 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] Email file attachments with custom file type/extension
Hi, I registered my own custom file type/extension in Windows. The associated application is started when I double click such files in Windows Explorer. However when I try to open such files attached to an e-mail in Outlook Express I get an error message that there is no application associated for this operation, Thunderbird works fine. My first guess was that the MIME Content-Type has to be registered. So I added in HKEY_CLASSES_ROOT\.fxd\ value REG_SZ Content Type = application/myapp and in HKEY_CLASSES_ROOT\MIME\Database\Content Type\ a key application/myapp with a value REG_SZ Extension = .fxd, however no luck. My TSmtpCli application sends the attachment with Content-Type: application/myapp;. Any ideas? -- 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] Email file attachments with custom file type/extension
Arno Garrels wrote: Any ideas? Please forget my previous message, the problem was sitting in front of the monitor named Arno. Actually there was no default open action registered. -- 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] Email file attachments with custom filetype/extension
Please forget my previous message, the problem was sitting in front of the monitor named Arno. In the programming industry, the problem is very frequently between the keyboard and the seat :-)) -- 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] TWSocket
Hi Francois, I understand :) I have copied everything belong to the database but it still keeps complaining about not finding clients.dbf I have the both, clients.dbf and clients.mdx Is there anything else missing? Thanks -daniel -Original Message- From: Francois PIETTE Sent: Thursday, January 13, 2011 4:03 PM To: ICS support mailing Subject: Re: [twsocket] TWSocket OverbyteIcsSrvDemo but I simply can't move it anywhere because it keeps askin about missing clients.dbf I found the this this file in the directory and copied to the same directory where I keep the exe but it still keeps asking about the same file. You have also to copy client.mdx which is the index. What this DBF is doing in the demo project and do we have any plain demos? A demo always has something more or less useful to do. Many people ask for accessing data at server side. I mean by plain: A demo which only shows how to use the components with out anything extra. Then have a look at other demos... for example those I pointed to you in my previous message. -- 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: daniel cc dan...@signedsource.com To: ICS support mailing twsocket@elists.org Sent: Thursday, January 13, 2011 2:42 PM Subject: Re: [twsocket] TWSocket Hi Francois, I am trying to test this server demo, OverbyteIcsSrvDemo but I simply can't move it anywhere because it keeps askin about missing clients.dbf I found the this this file in the directory and copied to the same directory where I keep the exe but it still keeps asking about the same file. I would very much like to know, What this DBF is doing in the demo project and do we have any plain demos? I mean by plain: A demo which only shows how to use the components with out anything extra. Best regards -Original Message- From: Francois PIETTE Sent: Thursday, January 13, 2011 12:46 PM To: ICS support mailing Subject: Re: [twsocket] TWSocket Server is placed in our office and clients are all around the country in different locations. -- 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] TWSocket
Sorry :( I am gonna have to answer this myself´, I have managed to fix this problem. -daniel -Original Message- From: daniel cc Sent: Thursday, January 13, 2011 5:02 PM To: ICS support mailing Subject: Re: [twsocket] TWSocket Hi Francois, I understand :) I have copied everything belong to the database but it still keeps complaining about not finding clients.dbf I have the both, clients.dbf and clients.mdx Is there anything else missing? Thanks -daniel -Original Message- From: Francois PIETTE Sent: Thursday, January 13, 2011 4:03 PM To: ICS support mailing Subject: Re: [twsocket] TWSocket OverbyteIcsSrvDemo but I simply can't move it anywhere because it keeps askin about missing clients.dbf I found the this this file in the directory and copied to the same directory where I keep the exe but it still keeps asking about the same file. You have also to copy client.mdx which is the index. What this DBF is doing in the demo project and do we have any plain demos? A demo always has something more or less useful to do. Many people ask for accessing data at server side. I mean by plain: A demo which only shows how to use the components with out anything extra. Then have a look at other demos... for example those I pointed to you in my previous message. -- 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: daniel cc dan...@signedsource.com To: ICS support mailing twsocket@elists.org Sent: Thursday, January 13, 2011 2:42 PM Subject: Re: [twsocket] TWSocket Hi Francois, I am trying to test this server demo, OverbyteIcsSrvDemo but I simply can't move it anywhere because it keeps askin about missing clients.dbf I found the this this file in the directory and copied to the same directory where I keep the exe but it still keeps asking about the same file. I would very much like to know, What this DBF is doing in the demo project and do we have any plain demos? I mean by plain: A demo which only shows how to use the components with out anything extra. Best regards -Original Message- From: Francois PIETTE Sent: Thursday, January 13, 2011 12:46 PM To: ICS support mailing Subject: Re: [twsocket] TWSocket Server is placed in our office and clients are all around the country in different locations. -- 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] TWSocket
daniel cc wrote: I have copied everything belong to the database but it still keeps complaining about not finding clients.dbf I have the both, clients.dbf and clients.mdx Is there anything else missing? Are you using C++ Builder? Anyway, dropped on the form there's component DataTable of type TTable. Either set its property DataBaseName to the directory containing clients.dbf and clients.mdx in Object Inspector or at runtime. The Delphi demo sets this at runtime in procedure TSrvForm.FormShow(Sender: TObject); [..] DataTable.DataBaseName := ExtractFilePath(Application.ExeName); try DataTable.Open; [..] -- 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] TWSocket
Hi Francois, You have mentioned DES encryption, Is it automatically encrypted with DES? or should I do something to set DES up? Thanks for the answers. -daniel -Original Message- From: daniel cc Sent: Thursday, January 13, 2011 5:02 PM To: ICS support mailing Subject: Re: [twsocket] TWSocket OK, but what are the project names ? There are so much. I suggest you start your prohramming from OverbyteIcsSvcTcp.dproj (A windows service) or OverbyteIcsSrvTcp (A GUI application). Both demos are using the same object to implement the server operation. Making them SSL enabled is quite easy but I'm not sure you really need SSL since you design both client and server, you may use basic encryption such as DES which is included in ICS. Depends on your requirements. For client side, OverbyteIcsCliDemo.dproj is probably more than enough to get you started. -- 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] TWSocket
Thanks Arno, I have managed to set it up and it works great :) I just need to set some security around it now. Best regards -daniel -Original Message- From: Arno Garrels Sent: Thursday, January 13, 2011 7:34 PM To: ICS support mailing Subject: Re: [twsocket] TWSocket daniel cc wrote: I have copied everything belong to the database but it still keeps complaining about not finding clients.dbf I have the both, clients.dbf and clients.mdx Is there anything else missing? Are you using C++ Builder? Anyway, dropped on the form there's component DataTable of type TTable. Either set its property DataBaseName to the directory containing clients.dbf and clients.mdx in Object Inspector or at runtime. The Delphi demo sets this at runtime in procedure TSrvForm.FormShow(Sender: TObject); [..] DataTable.DataBaseName := ExtractFilePath(Application.ExeName); try DataTable.Open; [..] -- 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] Great Problem with ICS7 under Delphi XE
My problem: Under Delphi 7 my application runs correct but under XE I have a great problem with icsv7w from Okt. 2010. I install the version for XE correct. In my app. I download some 6 picture from the internet in the directory c:\temp\thumnail After that by clicking in the grid I saw the 6 pictures. Now the problem is, that Delphi XE hang in the line Ftpclient1.restartget (procedure TForm1.ftpdownloadfileeinzeln) With Delphi 7 the debugger goes on an have no problems. Here is the snip of my code. procedure TForm1.dxBarButton48Click(Sender: TObject); begin ftpconnect ; emptypicture1 ; vorschau := 1 ; suche11 := 1 ; //Bildname in datenbank ist auch als Bild auf fileebene vorhanden verzeichnisvorhanden ; ProgressBar3.Max := 6 ; ProgressBar3.Position := 0 ; // first picture dateinamekurz:= String(datamodule2.MSUebungD1name.Value) ; if dateinamekurz '' then begin vorhanden := IsFile('C:\temp\'+thumbpfad+'\'+dateinamekurz) ; if vorhanden = false then begin ftpdownloadfileeinzeln ; end ; if suche11 = 1 then begin// also Bildname vorhanden image1.Picture.LoadFromFile('C:\temp\'+thumbpfad+'\'+dateinamekurz); image7.Picture.LoadFromFile('C:\temp\'+thumbpfad+'\'+dateinamekurz); image9.Picture.LoadFromFile('C:\temp\'+thumbpfad+'\'+dateinamekurz); end else begin image1.Picture.Icon.Empty ; image7.Picture.Icon.Empty ; image9.Picture.Icon.Empty ; end ; end else begin image1.Picture.Icon.Empty ; image7.Picture.Icon.Empty ; image9.Picture.Icon.Empty ; end ; suche11 := 1 ; // second picture dateinamekurz:= String(datamodule2.MSUebungD2name.Value) ; if dateinamekurz '' then begin vorhanden := IsFile('C:\temp\'+thumbpfad+'\'+dateinamekurz) ; if vorhanden = false then begin ftpdownloadfileeinzeln ; end ; .. .. End ; procedure TForm1.ftpdownloadfileeinzeln ; begin if suche11 = 1 then begin // also Bildname vorhanden FtpClient1.HostFileName := dateinamekurz ; //FtpFileNameEdit.Text; FtpClient1.LocalFileName := 'C:\temp\'+thumbpfad+'\'+dateinamekurz; //LocalFilePathEdit.Text; FtpClient1.RestartGet ; HERE STOPS AND NOT GO ON!! ProgressBar3.Position := ProgressBar3.Position + 1 ; end ; end ; I hope you can help me, because I have no idea. Thanks a lot. Best regards Ausgehende eMail ist virenfrei. Von AVG überprüft - www.avg.de Version: 9.0.872 / Virendatenbank: 271.1.1/3377 - Ausgabedatum: 01/13/11 08:34:00 -- 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] TWSocket
Hi guys, Could someone please provide me with a demo of SSL Server and client? I couldn't find any in the component directory. I don't know how to switch the existed normal server and client demos to SSL. Thanks for the help -daniel -Original Message- From: Arno Garrels Sent: Thursday, January 13, 2011 8:12 PM To: ICS support mailing Subject: Re: [twsocket] TWSocket daniel cc wrote: I just need to set some security around it now. Encryption is not a built-in ICS feature, except when you use SSL/TLS. Just send encrypted data and decrypt on the receiver side, very simple. There are many encryption libraries available such as TP Lockbox or DCPCrypt2 both available at sourceforge.net. However best security is achieved with SSL/TLS. -- 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] TWSocket
daniel cc wrote: Hi guys, Could someone please provide me with a demo of SSL Server and client? I couldn't find any in the component directory. I don't know how to switch the existed normal server and client demos to SSL. The SSL demos are all in sub directory SslInternet. You need the OpenSSL DLLs to get them running, the are available for download at: http://wiki.overbyte.be/wiki/index.php/ICS_Download That's also the link where you get latest ICS source code. Take a look at OverbyteIcsSimpleSslServer and OverbyteIcsSimpleSslCli. -- Arno Garrels Thanks for the help -daniel -Original Message- From: Arno Garrels Sent: Thursday, January 13, 2011 8:12 PM To: ICS support mailing Subject: Re: [twsocket] TWSocket daniel cc wrote: I just need to set some security around it now. Encryption is not a built-in ICS feature, except when you use SSL/TLS. Just send encrypted data and decrypt on the receiver side, very simple. There are many encryption libraries available such as TP Lockbox or DCPCrypt2 both available at sourceforge.net. However best security is achieved with SSL/TLS. -- 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] TWSocket
Thanks Arno :) I have got everything.. Best regards -daniel -Original Message- From: Arno Garrels Sent: Thursday, January 13, 2011 9:13 PM To: ICS support mailing Subject: Re: [twsocket] TWSocket daniel cc wrote: Hi guys, Could someone please provide me with a demo of SSL Server and client? I couldn't find any in the component directory. I don't know how to switch the existed normal server and client demos to SSL. The SSL demos are all in sub directory SslInternet. You need the OpenSSL DLLs to get them running, the are available for download at: http://wiki.overbyte.be/wiki/index.php/ICS_Download That's also the link where you get latest ICS source code. Take a look at OverbyteIcsSimpleSslServer and OverbyteIcsSimpleSslCli. -- Arno Garrels Thanks for the help -daniel -Original Message- From: Arno Garrels Sent: Thursday, January 13, 2011 8:12 PM To: ICS support mailing Subject: Re: [twsocket] TWSocket daniel cc wrote: I just need to set some security around it now. Encryption is not a built-in ICS feature, except when you use SSL/TLS. Just send encrypted data and decrypt on the receiver side, very simple. There are many encryption libraries available such as TP Lockbox or DCPCrypt2 both available at sourceforge.net. However best security is achieved with SSL/TLS. -- 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] TWSocket
Hi, I have got everythíng needed but still can't run the demos, do I need to register the dll files? Here are the errors --- [DCC Error] OverbyteIcsSimpleSslServer1.pas(88): E2003 Undeclared identifier: 'TSslWSocketClient' [DCC Error] OverbyteIcsSimpleSslServer1.pas(88): E2021 Class type required [DCC Error] OverbyteIcsSimpleSslServer1.pas(97): E2003 Undeclared identifier: 'TSslWSocketServer' [DCC Error] OverbyteIcsSimpleSslServer1.pas(97): E2217 Published field 'SslWSocketServer1' not a class or interface type [DCC Error] OverbyteIcsSimpleSslServer1.pas(116): E2003 Undeclared identifier: 'TSslContext' [DCC Error] OverbyteIcsSimpleSslServer1.pas(116): E2217 Published field 'SslContext1' not a class or interface type [DCC Error] OverbyteIcsSimpleSslServer1.pas(127): E2003 Undeclared identifier: 'TX509Base' [DCC Error] OverbyteIcsSimpleSslServer1.pas(294): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(295): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(295): E2029 '(' expected but ':=' found [DCC Error] OverbyteIcsSimpleSslServer1.pas(295): E2036 Variable required [DCC Error] OverbyteIcsSimpleSslServer1.pas(296): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(297): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(298): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(299): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(300): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(301): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(302): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(303): E2066 Missing operator or semicolon [DCC Error] OverbyteIcsSimpleSslServer1.pas(304): E2066 Missing operator or semicolon -Original Message- From: Arno Garrels Sent: Thursday, January 13, 2011 9:13 PM To: ICS support mailing Subject: Re: [twsocket] TWSocket daniel cc wrote: Hi guys, Could someone please provide me with a demo of SSL Server and client? I couldn't find any in the component directory. I don't know how to switch the existed normal server and client demos to SSL. The SSL demos are all in sub directory SslInternet. You need the OpenSSL DLLs to get them running, the are available for download at: http://wiki.overbyte.be/wiki/index.php/ICS_Download That's also the link where you get latest ICS source code. Take a look at OverbyteIcsSimpleSslServer and OverbyteIcsSimpleSslCli. -- Arno Garrels Thanks for the help -daniel -Original Message- From: Arno Garrels Sent: Thursday, January 13, 2011 8:12 PM To: ICS support mailing Subject: Re: [twsocket] TWSocket daniel cc wrote: I just need to set some security around it now. Encryption is not a built-in ICS feature, except when you use SSL/TLS. Just send encrypted data and decrypt on the receiver side, very simple. There are many encryption libraries available such as TP Lockbox or DCPCrypt2 both available at sourceforge.net. However best security is achieved with SSL/TLS. -- 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] TWSocket
daniel cc wrote: Hi, I have got everythíng needed but still can't run the demos, do I need to register the dll files? No, rebuild the project, just a compile is not enough. Whenever a conditial define changed you have to (re)build the project, sometimes even that does not work, in such cases (re)build the package first. -- 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] TWSocket
Yeah, Many thanks Arno :) Rebuilding did help. How about the SSL keys and the certificate? How do I use the keys in both locations (server and client), where do I copy the keys, how do I build keys? Thanks in advance -daniel -Original Message- From: Arno Garrels Sent: Thursday, January 13, 2011 10:12 PM To: ICS support mailing Subject: Re: [twsocket] TWSocket daniel cc wrote: Hi, I have got everythíng needed but still can't run the demos, do I need to register the dll files? No, rebuild the project, just a compile is not enough. Whenever a conditial define changed you have to (re)build the project, sometimes even that does not work, in such cases (re)build the package first. -- 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