Re: [twsocket] Client Server connectivity

2011-12-15 Thread François Piette
>How does one handle client/server connectivity in a way that avoids needing > to do port forwarding in routers? Ie Something like LogmeIn.com. > How do they have it so you log into their server and can contact the client machine > even behind a firewall? In those applications, you have a cent

Re: [twsocket] Client/Server Demo

2010-10-08 Thread Signed Source® Project
Thanks Arno, I will start study and be back to this when I have a bit more understanding. -daniel On 8.10.2010 21:04, Arno Garrels wrote: Signed Source® Project wrote: I don't think I need to read any books. In order to understand SSL/TLS basics it's enough to ask, for instance, wikipedia:

Re: [twsocket] Client/Server Demo

2010-10-08 Thread Arno Garrels
Signed Source® Project wrote: > I don't think I need to read any books. In order to understand SSL/TLS basics it's enough to ask, for instance, wikipedia: http://en.wikipedia.org/wiki/Transport_Layer_Security In order to understand OpenSSL the mentioned book is very helpful though. > I am just t

Re: [twsocket] Client/Server Demo

2010-10-08 Thread Signed Source® Project
Guys, Right now, I don't think I need to read any books. I am just trying to understand the demo in the ICS v7 first. There is already everything I need. I don't need to create any certificates for now. How can I use the existed certificates in the demo? When I run the server demo, There is: 0

Re: [twsocket] Client/Server Demo

2010-10-08 Thread Fastream Technologies
Hi, ICS usermade page has a code called SocketSpy which should be a good starting point for remote desktop and other tunnels. It is a very simple proxy server that displays the data passing through it. All you would need to do is to remove the GUI display, alter the TWSocket's to ssl'ed tcp class

Re: [twsocket] Client/Server Demo

2010-10-08 Thread Francois PIETTE
support mailing" Sent: Friday, October 08, 2010 1:40 PM Subject: Re: [twsocket] Client/Server Demo Hi Francois, Thanks for the response :) I have decided to skip the remote desktop. I have now started to work on the SSL client/server demo and found following questions, - How do I use the cer

Re: [twsocket] Client/Server Demo

2010-10-08 Thread Signed Source® Project
Hi Francois, Thanks for the response :) I have decided to skip the remote desktop. I have now started to work on the SSL client/server demo and found following questions, - How do I use the certificates in both server and client? - How do I create the certificates? - How about usernames and pas

Re: [twsocket] Client/Server Demo

2010-10-08 Thread Francois PIETTE
Or maybe you want to provide a tunnel for the standard remote desktop ? Yes, I would like to provide a tunnel for this which will make the client pc as a lan computer and will allow to remote desktop. OK, but before we discuss any further, could you explain why you think you need a tunnel f

Re: [twsocket] Client/Server Demo

2010-10-08 Thread Signed Source® Project
Of course, I have been looking from the wrong place :( Thanks mate :) -daniel On 8.10.2010 11:16, Angus Robertson - Magenta Systems Ltd wrote: You have not looked very closely, since the SSL files are on the ICS WIKI download page, below the ICS distributions: http://wiki.overbyte.be/wiki/ind

Re: [twsocket] Client/Server Demo

2010-10-08 Thread Angus Robertson - Magenta Systems Ltd
> *Subject:* Re: [twsocket] Client/Server Demo > *From:* Signed Source® Project > *To:* ICS support mailing > Could you please help me with the .DLL files? > they are missing and I can't find the right version from anywhere. You have not looked very closely, since the SSL

Re: [twsocket] Client/Server Demo

2010-10-08 Thread Signed Source® Project
Hi Francois, Or maybe you want to rewrite your own remote desktop ? Not really. Or maybe you want to provide a tunnel for the standard remote desktop ? Yes, I would like to provide a tunnel for this which will make the client pc as a lan computer and will allow to remote desktop. Could you pl

Re: [twsocket] Client/Server Demo

2010-10-08 Thread Francois PIETTE
Server: Answers to the incoming connections and lists connected clients (it is monitoring the clients). - Can send files like: .bat, .exe etc. to the client/clients - Can receive files like: .txt, .log, .xml from the client/clients So far an FTP or FTPS client/Server is enough. There are demo f

Re: [twsocket] Client/Server Demo

2010-10-08 Thread Signed Source® Project
Hi Angus, Thanks for the response, My needs are following, Server: Answers to the incoming connections and lists connected clients (it is monitoring the clients). - Can send files like: .bat, .exe etc. to the client/clients - Can receive files like: .txt, .log, .xml from the client/clients - Ca

Re: [twsocket] Client/Server Demo

2010-10-08 Thread Francois PIETTE
[DCC Error] OverbyteIcsSimpleSslServer1.pas(88): E2003 Undeclared identifier: 'TSslWSocketClient' You have to "Build" the project, compiling is not enough. Didn't think of that. It works. You have to "build" instead of "compile" because SSL code is compiled because of a conditional compilatio

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Angus Robertson - Magenta Systems Ltd
> Do you mean I don't need any encryption? You are have not clearly identified your requirement, although one of your many emails mentions 'all kind of files'. In which case you can use the ICS FTP server and FTP client with SSL to encrypt all the data. There are demos of both components with SSL

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Signed Source® Project
On 8.10.2010 8:59, Arno Garrels wrote: Signed Source® Project wrote: [DCC Error] OverbyteIcsSimpleSslServer1.pas(88): E2003 Undeclared identifier: 'TSslWSocketClient' You have to "Build" the project, compiling is not enough. Thanks Arno :) Didn't think of that. It works. Coul

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Arno Garrels
Signed Source® Project wrote: > [DCC Error] OverbyteIcsSimpleSslServer1.pas(88): E2003 Undeclared identifier: > 'TSslWSocketClient' You have to "Build" the project, compiling is not enough. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Signed Source® Project
On 7.10.2010 22:41, Francois PIETTE wrote: Is it possible to encrypt the connection between the client and server? ICS support the SSL protocol. It has a strong encryption. SSL is what is used in protocols sur as HTTPS, FTPS and many others (also supported by ICS). if yes, I would appreciat

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Francois PIETTE
Is it possible to encrypt the connection between the client and server? ICS support the SSL protocol. It has a strong encryption. SSL is what is used in protocols sur as HTTPS, FTPS and many others (also supported by ICS). if yes, I would appreciated any help you could provide. See the dem

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Signed Source® Project
Subject: Re: [twsocket] Client/Server Demo On 7.10.2010 20:20, RTT wrote: Simon, I will be very please if you could. Thanks in advance -daniel -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Signed Source® Project
On 7.10.2010 21:45, RTT wrote: Any kind of demos for the person who has never done such things before? But what kind of data are you sending/receiving. Plain text, binary? You just need to encrypt it before send, and decrypt at receive. Here is a good cryptography library http://www.cityinthes

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Signed Source® Project
On 7.10.2010 21:46, Angus Robertson - Magenta Systems Ltd wrote: No, there are no demos available showing how to encrypt a connection. But there is exactly that code in the ICS SMTP, HTTP and FTP SSL components, clients and servers. Angus -- To unsubscribe or change your settings for TWS

Re: [twsocket] Client/Server Demo

2010-10-07 Thread simon
?i can make you a demo if you wish with basic chat funcation and room support with 64bit encoding for string commands ... -Original Message- From: Signed Source® Project Sent: Thursday, October 07, 2010 6:58 PM To: ICS support mailing Subject: Re: [twsocket] Client/Server Demo On

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Angus Robertson - Magenta Systems Ltd
> No, there are no demos available showing how to encrypt a > connection. But there is exactly that code in the ICS SMTP, HTTP and FTP SSL components, clients and servers. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mail

Re: [twsocket] Client/Server Demo

2010-10-07 Thread RTT
Any kind of demos for the person who has never done such things before? But what kind of data are you sending/receiving. Plain text, binary? You just need to encrypt it before send, and decrypt at receive. Here is a good cryptography library http://www.cityinthesky.co.uk/cryptography.html -- To

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Arno Garrels
Arno Garrels wrote: > How to override a class is not a ICS-specific question but a Delphi or > C++ language question. Sorry for my bad English, should read: How to override methods of a class is not a ICS-specific question but a Delphi or C++ language question. -- Arno Garrels -- To unsubscr

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Arno Garrels
Signed Source® Project wrote: > On 7.10.2010 20:36, Arno Garrels wrote: >> Signed Source® Project wrote: >> >>> Hi guys, >>> One more question, >>> Is it possible to encrypt the connection between the client and >>> server? if yes, >>> I would appreciated any help you could provide. >>> >> Of cou

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Signed Source® Project
On 7.10.2010 20:36, Arno Garrels wrote: Signed Source® Project wrote: Hi guys, One more question, Is it possible to encrypt the connection between the client and server? if yes, I would appreciated any help you could provide. Of course it is possible, however it has to be implemented

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Signed Source® Project
On 7.10.2010 20:20, RTT wrote: Is it possible to encrypt the connection between the client and server? The connection, or your custom data? -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our websi

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Arno Garrels
Signed Source® Project wrote: > Hi guys, > One more question, > Is it possible to encrypt the connection between the client and > server? if yes, > I would appreciated any help you could provide. Of course it is possible, however it has to be implemented by yourself. You are able derive your own

Re: [twsocket] Client/Server Demo

2010-10-07 Thread RTT
Is it possible to encrypt the connection between the client and server? The connection, or your custom data? -- 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] Client/Server Demo

2010-10-07 Thread Signed Source® Project
On 7.10.2010 19:45, Signed Source® Project wrote: On 7.10.2010 19:04, Francois PIETTE wrote: Do we have a client/server demo somewhere (connect to a server, communicate like sending messages, files etc.)? if yes, Where can I download it? Yes, there are several such demos. They are in ICS zip

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Signed Source® Project
On 7.10.2010 19:04, Francois PIETTE wrote: Do we have a client/server demo somewhere (connect to a server, communicate like sending messages, files etc.)? if yes, Where can I download it? Yes, there are several such demos. They are in ICS zip file, along with the components. Look at the "inte

Re: [twsocket] Client/Server Demo

2010-10-07 Thread Francois PIETTE
Do we have a client/server demo somewhere (connect to a server, communicate like sending messages, files etc.)? if yes, Where can I download it? Yes, there are several such demos. They are in ICS zip file, along with the components. Look at the "internet" folder in the zip file and on you hard

Re: [twsocket] Client/Server

2005-09-07 Thread Wilfried Mestdagh
Hello David, Glad it works for you now :) > and not by me. I wasn't expecting this data "Welcome to TcpSrv" so You can switch this off if you want. Just before you call Listen you do: Srv.Banner := ''; > isn't sent until the buffers were full. > TWSocketOptions( ) << wsoTcpNoDelay; Not n

Re: [twsocket] Client/Server

2005-09-07 Thread David Lewis
Further investigation has solved a few things... I was getting a ltitle confused by the data being sent by the component, and not by me. I wasn't expecting this data "Welcome to TcpSrv" so wasn't ready to handle it. I was also a little off-target by expecting my data to be sent at the time I u

Re: [twsocket] Client/Server

2005-09-07 Thread Wilfried Mestdagh
Hello David, Will try to check your code this evening. I cannot do real debug because I only have Delphi, but I will check it. Some quick comments for now: > co_ServerWinsockPort->ClientClass = __classid(TTcpSrvClient); Did you did this line of code "before" you call Listen ? If yes then OK.

Re: [twsocket] Client/Server

2005-09-06 Thread Wilfried Mestdagh
Hello David, You have a class TTcpSrvClient, whitch is derrived from TWSocketClient class, but I dont see you assigning this class to the server component: co_ServerWinsockPort->ClientClass = TTcpSrvClient; You assign event handler to OnError. This is not good, you better work with your own tr

Re: [twsocket] Client/Server

2005-09-06 Thread David Lewis
Ok, so expanding a little on what I have: The components are dynamically created: TWSocket *co_ClientWinsockPort; TWSocketServer*co_ServerWinsockPort; at_TargetIpAddress = "192.168.0.42"; // Client TCP Comms Component co_ClientWinsockPort= new TWSocke

Re: [twsocket] Client/Server

2005-09-06 Thread Wilfried Mestdagh
Hello David, > Is that the correct logic for it all? yes it is correct. > I have tried a number of different ways of doing this, but each way > doesn't seem to have reliable communications. Should be very reliable. If you can provide some more detail of what the problem is, then we all very gl