Re: [twsocket] Memory leak in ICS Client socket

2011-07-01 Thread daniel cc
Thanks :) I will check it out. -daniel -Original Message- From: Francois PIETTE Sent: Friday, July 01, 2011 11:47 AM To: ICS support mailing Subject: Re: [twsocket] Memory leak in ICS Client socket I am using TSSLWSocket and I would like to know why I get memory leak error while

Re: [twsocket] Unsupported OpenSSL

2011-06-26 Thread daniel cc
Hi Arno, Thanks for the response :) I have got it work. I had wrong version of ICS components. Best regards -Original Message- From: Arno Garrels Sent: Thursday, June 23, 2011 9:10 PM To: ICS support mailing Subject: Re: [twsocket] Unsupported OpenSSL daniel cc wrote: Hello, I am

[twsocket] Unsupported OpenSSL

2011-06-22 Thread daniel cc
Hello, I am hoping to get some help with this, I have downloaded the latest SSL packages and installed to my system and trying to make self-signed ceretificate and keys for the component. I have made the keys and tested with the following error, “Client exception occured: EIcsLibeayException:

[twsocket] Latest supported SSL version

2011-06-22 Thread daniel cc
Hello, can someone please inform, what are the latest supported SSL packages and DLL files? Where can I get them? thank you. -- 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

Re: [twsocket] Latest supported SSL version

2011-06-22 Thread daniel cc
Thank you :) Now everything works like charm.. -daniel -Original Message- From: Francois PIETTE Sent: Wednesday, June 22, 2011 2:52 PM To: ICS support mailing Subject: Re: [twsocket] Latest supported SSL version can someone please inform, what are the latest supported SSL

[twsocket] OverbyteIcsSimpleSslServer demo OpenSSL keys

2011-06-21 Thread daniel cc
Hi, Could you please help me out with the SSL keys included in this demo? I am trying to create my own self-signed certificate and keys with OpenSSL command prompt, I can create 2048bit keys and the certification request and also the certification but I can’t make them work with this demo. Demo

[twsocket] SSL server and CLient cert.

2011-06-15 Thread daniel cc
Hi, I am using SSL server and SSL client in my application, can someone please inform, what are the commercial certificates for the component? This may not be a question related to the component but, I would like to hear your opinions. Thanks in advance -daniel -- To unsubscribe or change your

Re: [twsocket] SSL server and CLient cert.

2011-06-15 Thread daniel cc
support mailing Subject: Re: [twsocket] SSL server and CLient cert. Anything that works for Apache would work since they use OpenSSL as well. Regards, SZ On Wed, Jun 15, 2011 at 09:36, daniel cc dan...@signedsource.com wrote: Hi, I am using SSL server and SSL client in my application, can

Re: [twsocket] SSL server and CLient cert.

2011-06-15 Thread daniel cc
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

Re: [twsocket] Wiki article writing incentive idea

2011-06-15 Thread daniel cc
This would be a good idea.. -Original Message- From: Fastream Technologies Sent: Wednesday, June 15, 2011 10:46 AM To: ICS support mailing Subject: [twsocket] Wiki article writing incentive idea Hello Francois, After observing your wiki with not much content for so long time, I

Re: [twsocket] SSL server and CLient cert.

2011-06-15 Thread daniel cc
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

Re: [twsocket] SSL server and CLient cert.

2011-06-15 Thread daniel cc
keys? I hope it is clear this time.. Thanks -Original Message- From: Arno Garrels Sent: Wednesday, June 15, 2011 1:55 PM To: ICS support mailing Subject: Re: [twsocket] SSL server and CLient cert. daniel cc wrote: Thanks again, can you please clear a bit up, I understand the server

Re: [twsocket] SSL server and CLient cert.

2011-06-15 Thread daniel cc
Thank you very much :) Now I got the whole picture. Best regards -Original Message- From: Arno Garrels Sent: Wednesday, June 15, 2011 2:43 PM To: ICS support mailing Subject: Re: [twsocket] SSL server and CLient cert. Arno Garrels wrote: If clients may connect from dynamic IP

Re: [twsocket] SSL server and CLient cert.

2011-06-15 Thread daniel cc
Thanks Arno :) -daniel -Original Message- From: Arno Garrels Sent: Wednesday, June 15, 2011 3:40 PM To: ICS support mailing Subject: Re: [twsocket] SSL server and CLient cert. Arno Garrels wrote: daniel cc wrote: Hi Arno, Thanks for the response. Yes I do understand but, looks

Re: [twsocket] Computer's name

2011-05-24 Thread daniel cc
| Remote:127.0.0.1:52541| Local:127.0.0.1:443 Received from:|127.0.0.1|Computer Name:|TROJAN.marketmedia.local|IP Address:|172.16.16.54|Language:|FIN|User name:|daniel cc|OS:|Windows 7 Service Pack 1|Date time:|24.05.2011 13:53:08' First message Client connected comes when the client is connected

Re: [twsocket] Computer's name

2011-05-11 Thread daniel cc
Hi Francois, Thanks for the response. I have tested, I can get the computer name if the computer is in the same network. I can send any message including the computer name from the client when it connects. Now, First, Server gives info of connected client with it's ip and the ID, the ID is

Re: [twsocket] Computer's name

2011-05-11 Thread daniel cc
Hi Francois, I am building a server client application for monitoring few pc's which are in different locations(not the same network). The ID what I am having is this one(tag:FClientNo), I get it when the client connects to the server. --- C O D E

Re: [twsocket] Computer's name

2011-05-11 Thread daniel cc
Hi Francois, Thanks for the response. Your second message comes later and is available from the OnDataAvailable event handler at server side. Is it possible to send this at the same time as it connects? What I need is, to combine both messages and get the ID and computer name. You should

[twsocket] Computer's name

2011-05-10 Thread daniel cc
Hello, I have now been thinking of this for a while and don’t know if I have already asked but here it comes, We can get some remote info of the connected client from the following code but, are there any possibilities of getting the computername as well? if yes, Please do help me out with it.

Re: [twsocket] Bomb

2011-04-28 Thread daniel cc
Hi Francois, Thanks for the response :) Do I need to do anything, define anything? I am using the SSL socket.. Thanks in advance -Original Message- From: Francois PIETTE Sent: Thursday, April 28, 2011 8:45 AM To: ICS support mailing Subject: Re: [twsocket] Bomb Could someone please

Re: [twsocket] Bomb

2011-04-28 Thread daniel cc
use_ssl on your project option and rebuild all. -- Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté. daniel cc dan...@signedsource.com a écrit : Hi Francois, Thanks for the response :) Do I need to do anything, define anything? I am using the SSL socket.. Thanks in advance

Re: [twsocket] Bomb

2011-04-28 Thread daniel cc
Hi Francois, I understand it now. I didn't get the idea in the first place :( I tought it should be somehow different and need to be placed in the code.. Sorry for the trouble. Thanks a lot. -Original Message- From: Francois PIETTE Sent: Thursday, April 28, 2011 2:29 PM To: ICS

[twsocket] Bomb

2011-04-27 Thread daniel cc
Hi, Could someone please explain, what this means? Bomb('Add USE_SSL in the define section in project options'); This is in the Server demo project. thanks in advance -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] Receive log file text

2011-04-13 Thread daniel cc
That's too bad. -Original Message- From: Arno Garrels Sent: Tuesday, April 12, 2011 7:15 PM To: ICS support mailing Subject: Re: [twsocket] Receive log file text daniel cc wrote: Thanks Arno :) I understand perfectly, Do we have any samples about this? I do not think so

[twsocket] Receive log file text

2011-04-12 Thread daniel cc
Hi, Can someone please help me out w ith a sample of how to, send a log (text file) from client to the server? My connection is with ICSSLServer and ICSSSLClient. My client opens the connection and makes sure connection is always on. Log file is just a regular text file and not so big. I just

Re: [twsocket] Receive log file text

2011-04-12 Thread daniel cc
To: ICS support mailing Subject: Re: [twsocket] Receive log file text daniel cc wrote: Hi, Can someone please help me out w ith a sample of how to, send a log (text file) from client to the server? My connection is with ICSSLServer and ICSSSLClient. That works the same way as without SSL

Re: [twsocket] File transfer through SSL

2011-04-06 Thread daniel cc
Hi Francois, Do we have any kind of demo project of how to upload stuff to the server by using ssl and how to download from the server? This is something that I also very much would like to know about. I have faced many times the following problem, No one likes to open too many ports, if we

Re: [twsocket] File transfer through SSL

2011-04-06 Thread daniel cc
Thanks Francois :) I will check them out. -Original Message- From: Francois PIETTE Sent: Wednesday, April 06, 2011 2:36 PM To: ICS support mailing Subject: Re: [twsocket] File transfer through SSL Do we have any kind of demo project of how to upload stuff to the server by using

Re: [twsocket] OT: Windows 7/20008R2 SP1 now available

2011-02-17 Thread daniel cc
Thanks Angus :) -Original Message- From: Angus Robertson - Magenta Systems Ltd Sent: Thursday, February 17, 2011 11:44 AM To: twsocket@elists.org Subject: [twsocket] OT: Windows 7/20008R2 SP1 now available For those with MSDN, Partner Action Pack or Technet accounts, service Pack

[twsocket] TWSocketServer TWSocketClient send receive files

2011-02-14 Thread daniel cc
Hello, Can someone please guide me to a correct demo/sample of how to send receive files? thanks in advance -- 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] TWSocketServer TWSocketClient send receive files

2011-02-14 Thread daniel cc
Thanks Francois, I probably need to get into this abit more. I have some more details.. What about file metadata such as filename and timestamp ? What about permissions to access the file at sender side and to write the file at receiver side ? -- I actualy think I could handle it on the both

Re: [twsocket] TWSocketServer TWSocketClient send receive files

2011-02-14 Thread daniel cc
Thank you :) Just what wanted to hear. With best regards -Original Message- From: Francois PIETTE Sent: Monday, February 14, 2011 2:19 PM To: ICS support mailing Subject: Re: [twsocket] TWSocketServer TWSocketClient send receive files FTP, HTTTP, SMTP/POP3, NNTP are all capable of

Re: [twsocket] Error with SSLWSocketClient

2011-02-07 Thread daniel cc
Hi Arno, Thanks for your precise comments. The security issue in my case is not very high because this is just a server client communication with nothing sensetive (no money transfer or credit cards or personal info etc.) I will use a commercial Certificate of 3 years valid and hoping that it

Re: [twsocket] Error with SSLWSocketClient

2011-02-03 Thread daniel cc
Angus, I remember all you said. As mentioned, I am still running tests. What I need is a some kind of explanation about the error since I am not using IE or Mozilla. Do you know the reason for the error? -Original Message- From: Angus Robertson - Magenta Systems Ltd Sent:

Re: [twsocket] Error with SSLWSocketClient

2011-02-03 Thread daniel cc
--usually 1 year. Regards, SZ On Thu, Feb 3, 2011 at 10:49 AM, daniel cc dan...@signedsource.com wrote: Angus, I remember all you said. As mentioned, I am still running tests. What I need is a some kind of explanation about the error since I am not using IE or Mozilla. Do you know the reason

Re: [twsocket] Error with SSLWSocketClient

2011-02-03 Thread daniel cc
(downloading drivers etc.). -Original Message- From: Arno Garrels Sent: Thursday, February 03, 2011 10:57 AM To: ICS support mailing Subject: Re: [twsocket] Error with SSLWSocketClient daniel cc wrote: Hello, I have received an error from my client on test, the error is, “Revocation

Re: [twsocket] Error with SSLWSocketClient

2011-02-03 Thread daniel cc
Angus, I wouldn't type here and bother anyone if I could have found the answer from the book. So far I couldn't find the answer from the book, chapters 70-73 tells many things but nothing about this particular error. I have googled much and the answer everywhere seems to be managing the

[twsocket] Error with SSLWSocketClient

2011-02-02 Thread daniel cc
Hello, I have received an error from my client on test, the error is, “Revocation information for the security certificate for this site is not available, do you want to proceed?” Please notice, I am using the demo/test certificates delicered with ICS component package because I am still doing

Re: [twsocket] Error handling

2011-01-31 Thread daniel cc
Message - From: daniel cc dan...@signedsource.com To: ICS support mailing twsocket@elists.org Sent: Monday, January 31, 2011 8:54 AM Subject: Re: [twsocket] Error handling Sorry Francois, I tought I had it in the previous mail. Here it is, There camed up a little pop-up saying Socket

Re: [twsocket] Error handling

2011-01-30 Thread daniel cc
Hello, Thanks for the response. Sorry for delay. Do we have any demos where -- OnBgException is handled? I simply can't find any, in the server or the client demos. I have tryed to set Can Close and put the error into the memo with no success. All I need is to avoid the error pop-up and put the

Re: [twsocket] Error handling

2011-01-30 Thread daniel cc
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: Monday, January 31, 2011 7:46 AM Subject: Re: [twsocket] Error handling Hello, Thanks

Re: [twsocket] TWSocketServer and TWSocket Port

2011-01-27 Thread daniel cc
So, leave SSL apart for now. I don't see any reasons to leave the SSL because I already spent 3 weeks with making lot of tests and have learned much about SSL and I will continue. I am also hoping that you guys try to understand my approach instead of asking to leave it. SSL is good enough

Re: [twsocket] TWSocketServer and TWSocket Port

2011-01-27 Thread daniel cc
SOLVED!! -Original Message- From: daniel cc Sent: Thursday, January 27, 2011 7:33 PM To: ICS support mailing Subject: Re: [twsocket] TWSocketServer and TWSocket Port So, leave SSL apart for now. I don't see any reasons to leave the SSL because I already spent 3 weeks with making

[twsocket] Error handling

2011-01-27 Thread daniel cc
Hello, Can someone please guide me to a demo where the ICS Socket errors are handled? I have checked almost all and each one of them are having some handling but I can’t get the result I need. Example: If I pull the network cable from the client I get socket error pop-up which is something that

[twsocket] TWSocketServer and TWSocket Port

2011-01-26 Thread daniel cc
Hello all, If I have server and client component at one side, server and client component at the other side Side A: TWSocketServer and TWSocket == Acts as client Side B: TWSocketServer and TWSocket == Acts as server Side A connects automatically to the site B because site A is acting as client

Re: [twsocket] TWSocketServer and TWSocket Port

2011-01-26 Thread daniel cc
I would like to use the same port which the site A uses when it connects to the site B. Yes, you can have a same listening port at both sides. Thanks for the response. Yes, I know I can listen same ports but my question is, can I do that at Site A without opening any ports at the

Re: [twsocket] TWSocketServer and TWSocket Port

2011-01-26 Thread daniel cc
The use only one socket and make all communications over that unique connection. No other choise in your situation. Thanks Francois, Please do correct me if I am wrong. Now, You are saying that it is not possible to have only server port opened, I need to open port 443 in both sites. Site

Re: [twsocket] TWSocketServer and TWSocket Port

2011-01-26 Thread daniel cc
(I am using SSL sockets in both sites) Why you insist in use SSL if the client and server applications are coded by you?!! Why use a standard that only exist because of the need to connect many different implementations of clients to many different implementations of servers? You will be much

Re: [twsocket] TWSocketServer and TWSocket Port

2011-01-26 Thread daniel cc
Thanks Arno, Your answer is just a music to my ears :) RTT wrote: (I am using SSL sockets in both sites) Why you insist in use SSL if the client and server applications are coded by you?!! Why use a standard that only exist because of the need to connect many different implementations of

Re: [twsocket] TWSocketServer and TWSocket Port

2011-01-26 Thread daniel cc
RTT, First, I am not building a bank system where I would need extremely high security. It is a very simple monitoring system. SSL is okay for this as far as I am concerned. You may be right or may not. For me the mosty important here is to learn one thing at a time. If I listen you, I have to

[twsocket] CMD via ICS SslWSocketServer to ICS SslWSocket

2011-01-24 Thread daniel cc
Hello, When the WSocket is connected to the WSocketServer, I know it is possible to send commands to the client socket. Now, I have build a custom CMD with TEdit, TMemo and a button which can input commands into the system CMD.EXE (run commands directly in my application). My question is, is

Re: [twsocket] FTPCli problem.

2011-01-23 Thread daniel cc
Hi Antol, I am using a ICS built ftp client which has been several times updated and worked very good. I don't know if this is any help but, I had problems with 2 different models of D-Link routers and had to change them because my app did work in everywhere else but not in the machines behind of

[twsocket] SslWSocket client KeepAlive

2011-01-20 Thread daniel cc
Hello, What are the right parameters of the component for keeping the client alive, 1) KeepAliveInterval = ? 2) KeepAliveOnOff = ? 3) KeepAliveTime = ? What I would like to know is, What do you normally use and what is the best? Do you keepalive the connection by pinging the host or send

Re: [twsocket] SslWSocket client KeepAlive

2011-01-20 Thread daniel cc
Thanks Angus, I now your answers of yesterday but, What are these for? 1) KeepAliveInterval = ? 2) KeepAliveOnOff = ? 3) KeepAliveTime = ? Are they there for what? Do we have any samples of keepalive? or do I just have to figure out how? I have never done anything like this before and

Re: [twsocket] SslWSocket client KeepAlive

2011-01-20 Thread daniel cc
Have you tried searching all the ICS files, you will find it is used. Or use Goggle, this is simple TCP programming, nothing specific to ICS. Yes, I did and plenty of it. There are none documents which tells about how to in ICS and there are very few for Winsock. I won't be able of doing

Re: [twsocket] SslWSocketServer GET REMOTE COMPUTER NAME

2011-01-20 Thread daniel cc
Thanks Francois, Your answer makes the ComputerName issue easier for me. The network will be controlled. Users won't be able to use duplicated names on their computers. I have asked because I have found -- GetPeerName in the component and wondering if possible. -- To unsubscribe or change

[twsocket] SslWSocketServer and SslWSocket KEEPALIVE

2011-01-19 Thread daniel cc
Hi guys, Could you please inform, What is the best way to use in order to be able to keep alive both server and client? I would like to keep them both alive. Is it custom? or systemon? or off? How about interval? Thanks -daniel -- To unsubscribe or change your settings for TWSocket mailing

Re: [twsocket] SslWSocketServer and SslWSocket KEEPALIVE

2011-01-19 Thread daniel cc
Thanks Angus, I think five minutes will be just good for me :) What is the best way to use in order to be able to keep alive both server and client? Only the client matters, ignore the server. Just design your protocol so the client sends regular packets, at least one every five minutes, I

Re: [twsocket] SslWSocket processing data

2011-01-19 Thread daniel cc
Thank you :) Sounds excellent. Best regards -Original Message- From: Francois PIETTE Sent: Wednesday, January 19, 2011 7:33 PM To: ICS support mailing Subject: Re: [twsocket] SslWSocket processing data If the SslWSocket sends command such as: “Time”, SslWSocketServer is processing

[twsocket] SslWSocketServer GET REMOTE COMPUTER NAME

2011-01-19 Thread daniel cc
Hi guys, Is there any built in procedure for getting the remote computer’s name? if not, I will get the computer name from the client site and send it to the server as command when the connection is made. thanks. -- To unsubscribe or change your settings for TWSocket mailing list please goto

[twsocket] TWSocket and Client number

2011-01-18 Thread daniel cc
Hello, What do I need to do to get the client number into the server? As you can see here, I get the computer’s name, IP and Port but the client number is missing. --- procedure

Re: [twsocket] TWSocket and Client number

2011-01-18 Thread daniel cc
Thanks Angus, I don't know if we are at the same track, The reason of trying to get the number of the client is: To use it for sending commands to the client as following, SslWSocketServer1.Client[0].SendStr(ledSendCommand.Text + #13 + #10); The idea is not the answer when the client asks

Re: [twsocket] TWSocket and Client number

2011-01-18 Thread daniel cc
Thanks Angus, So you build your combobox, wait 10 seconds, one client disconnects, all the clients numbers reduce by one and your combobox is out of date. When you try to send a command to one of them it may be the wrong client or you'll get an exception because there are fewer clients. I

Re: [twsocket] TWSocket and Client number

2011-01-18 Thread daniel cc
My packets looked like this: TxData: CV121RML-0002|NN130120080707-170202|20080707-170204|| RxData: CS010PC08|20080707-160204|0|RML-0002| Thanks Angus, I understand what you mean but this unfortunately is too much for me :( I can't make/handle this because I don't even know how to handle

Re: [twsocket] TWSocket and Client number

2011-01-18 Thread daniel cc
That's why you need a server socket listening at each client computer. Every time the a client computer starts, connect to the Server computer and introduce himself. Hey, my name is Earl and I'm listening to your commands at this Address. I will report to you any errors occurring here. With

Re: [twsocket] TWSocket and Client number

2011-01-18 Thread daniel cc
Hi Angus, I am very much pleased and I thank you very much for trying to help me out. Sorry, but you really are out of your depth here, you need to understand simple programming first. We can not write your programme for you. Yes, I do have limited knowledge for now but, I am learning all

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-18 Thread daniel cc
Hi Marc, Your code works perfectly :) It created the UniqueID for the client and I believe this just was what I needed. Now I will be able to select the client of my choice with this ID. I will do the rest and start testing. Thanks a lot for the great help :) Best regards -Original

Re: [twsocket] TWSocket and Client number

2011-01-18 Thread daniel cc
Hi Angus, You probably only want to send a reboot PC command once... Yes, commands (just few) will be sent real seldom (once or twice in a week). Communication will be made mostly by the client ans server will respond by doing very small things. It is actually faster to use FClientNo as

[twsocket] SslWSocket processing data

2011-01-18 Thread daniel cc
Hi guys, If the SslWSocket sends command such as: “Time”, SslWSocketServer is processing it and responding by giving the time to the client (this what I have noticed in the samples). Now, Can the same thing be done in the other way around? SslWSocketServer sends command such as : ”Time”,

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-17 Thread daniel cc
-Original Message- From: Francois PIETTE Sent: Monday, January 17, 2011 9:33 AM To: ICS support mailing Subject: Re: [twsocket] SslWSocketServer SslWSocket and it doesn't work Please be more specific. What error/exception do you have ? Hi Francois, Thanks for the response and

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-17 Thread daniel cc
and it doesn't work Please be more specific. What error/exception do you have ? You have not answered this one. Most of the errors were -- Socket not connected. Speaking about code, you select it by its index in the Client[] property. How you find the right index is YOUR application

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-17 Thread daniel cc
by email if you want an offer. Regards, -- 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

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-17 Thread daniel cc
Angus, Thanks for the response, I am very pleased with all the help I have got here and I do love ICS components. I wouldn't be trying do do anything with them would I? If I wouldn't be happy with the components and with the help. What I need here is some easy basic things not complecated

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-17 Thread daniel cc
Said in other word: How do I find the index to use with Client[] property ? We cannot answer that question for you because we don't know the criteria ! You can create a form to ask the user which IP the client has and then iterate thru Client[] array and look for the correct IP. Yes, This is

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-17 Thread daniel cc
- SslWSocketServer1.Client is an array of your clients. So if you have 2 clients, the first one is Client[0] and the second one is

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-17 Thread daniel cc
What is so difficult? Property Client is an array of currently connected client objects, property ClientCount returns the number of objects in that array. You work with it like with a standard Delphi TList as well. For example, in order to iterate over all client objects: The difficulty is

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-17 Thread daniel cc
Well, without knowing more on your setup, one way I can see to differentiate your clients is with their IP. The client IP is available in Client[x].PeerAddr. My setup? I am working on a demo, I have memo field where I need to see the number of the client. If I can get the number of the

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-17 Thread daniel cc
Something like this ? (Out of my head, not tested) for ClientNo := 0 to WSocketServer1.ClientCount - 1 do begin if Client[ClientNo].PeerAddr = '192.168.1.123' then begin Client[ClientNo].SendStr('HelloWorld'#13#10); break; end; end; Hi Francois, Could you please check the

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-17 Thread daniel cc
Have a look at the event OnClientConnect, this is called whenever a client connect, just grab the client info there and you should be good to go. Thank you :) Now we are getting close. Here is what I have, and please see the line for the client number, Now I at least now where should I define

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-17 Thread daniel cc
Marc, Why we are jumping to the another planet now? We are soo close!! Can you please see the code! This is just getting complicated all the time. Isn't this component having anything such as: CLIENTID?, CLIENTNO?, ID? which could be posted here in the same way as the IP address and the Port?

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-17 Thread daniel cc
If you REALLY can't figure it out, let me know and I'll play with it to try to find a solution for you. Thanks Marc, Have been playing 2 days with this and still can't find out the way how to do. -- To unsubscribe or change your settings for TWSocket mailing list please goto

[twsocket] SslWSocketServer SslWSocket

2011-01-16 Thread daniel cc
Hi all, I have spent 4 days trying to send and receive data from “SslWSocketServer” to “SslWSocket”, with no success. What am I trying to do? I am trying to send and receive data from “SslWSocketServer” to “SslWSocket” (to a connected client/clients), send and receive data from “SslWSocket” to

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-16 Thread daniel cc
- Original Message - From: daniel cc dan...@signedsource.com To: TWSocket twsocket@elists.org Sent: Sunday, January 16, 2011 5:13 PM Subject: [twsocket] SslWSocketServer SslWSocket Hi all, I have spent 4 days trying to send and receive data from “SslWSocketServer” to “SslWSocket”, with no success

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-16 Thread daniel cc
The OverbyteIcsSrvTcp uses the OverbyteIcsTcpCmd.pas, where you will find the code of the server. Yes, I already knew this. Make sure you have the server running, before you hit the client connect button. Make also sure the client port is set to the same server port. The server port is set

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-16 Thread daniel cc
Huch? There's method WSocket1DataAvailable that receives data and SendButtonClick that sends strings. There is no such button SendButtonClick in this project -- OverbyteIcsSrvTcp.bdsproj. Are we talking about the same project or is it something which I don't have? TCP/IP requires a

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-16 Thread daniel cc
Assuming N is the index of the selected client, you send something using this line of code: WSocketServer.Client[N].Send(MyBufAddr, MyBufLnegth); When sending something back to a client having sent a command, you use the sender argument of the dataavailable event. This sender represent

Re: [twsocket] SslWSocketServer SslWSocket

2011-01-16 Thread daniel cc
Assuming N is the index of the selected client, you send something using this line of code: WSocketServer.Client[N].Send(MyBufAddr, MyBufLnegth); When sending something back to a client having sent a command, you use the sender argument of the dataavailable event. This sender represent the

Re: [twsocket] SslWSocketServer Send and receive

2011-01-15 Thread daniel cc
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: Saturday, January 15, 2011 12:23 AM Subject: Re

Re: [twsocket] SslWSocketServer Send and receive

2011-01-15 Thread daniel cc
Clearly you did not read my earlier message, or you would not be asking many of these questions, but would have your project working already. Angus Thanks Angus, I did read your early message. I unfortunately can't get anything out of it because I am not that good to understand and do

Re: [twsocket] SslWSocketServer Send and receive

2011-01-15 Thread daniel cc
Thanks Angus, Now I understand you perfectly :) Thank you very much for the help and for being pation. I will continue from here and see how forward I can go. Best regards -Original Message- From: Angus Robertson - Magenta Systems Ltd Sent: Saturday, January 15, 2011 4:41 PM To:

Re: [twsocket] TWSocket and SSL

2011-01-14 Thread daniel cc
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 9:41 PM Subject: Re: [twsocket

[twsocket] SslWSocketServer Send and receive

2011-01-14 Thread daniel cc
Hi guys, 1) I need to send from SslWSocketServer to SslWSocket, - Files (upload and download) - Commands. Commands are just text lines like: change IP Address, change display resolution, reboot the machine ETC. 2) I need to send from SslWSocket to SslWSocketServer, - Files (upload and download)

Re: [twsocket] SslWSocketServer Send and receive

2011-01-14 Thread daniel cc
Thanks Francois, Sorry for not making myself clear :( I already know these. How do I send text comand from server to the client after it has established a connection to the server? how do I do the same thing from client to the server? for example: Server sends Hello client to the client and

Re: [twsocket] TWSocket

2011-01-13 Thread daniel cc
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

Re: [twsocket] TWSocket

2011-01-13 Thread daniel cc
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

Re: [twsocket] TWSocket

2011-01-13 Thread daniel cc
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

Re: [twsocket] TWSocket

2011-01-13 Thread daniel cc
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

Re: [twsocket] TWSocket

2011-01-13 Thread daniel cc
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

Re: [twsocket] TWSocket

2011-01-13 Thread daniel cc
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

Re: [twsocket] TWSocket

2011-01-13 Thread daniel cc
: 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

  1   2   >