Re: [twsocket] ICS FTP Client
I know there are files in the sub folder as I can see them with Windows Explorer. Which does not have any FTP functionality, so is this a local FTP server? You can browse FTP servers with Windows Explorer, you just need to type the address in the address bar. Ex.: ftp://usern...@ftpserver.com You can even tell it to use passive mode by going in Control Panel-Internet Options-Advanced tab hth -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Should next ICS version support anything before Delphi XE ?
Using Delphi 7 here. Still waiting for Linux support before I fork the cash to upgrade. They keep telling me it's coming... On Wed, Mar 28, 2012 at 2:59 PM, François Piette francois.pie...@skynet.be wrote: Hi ! I’m planning the next ICS version… Being unable to use any features added to Delphi in the last 10 years is very restricted. Maybe we need to cease support for old Delphi versions ? Of course ICS V5 and V7 will remains available however, the only changes will be bug fixes. What do you think ? Please keep your answer as short as possible, I just want to have an idea about how many of you are still using an old Delphi version. -- 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] Merry Christmas
Joyeux Noël à tous ! De Montréal, Québec -- 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] Creatively annoying a host
My various web servers suffer regular attacks looking for exploits, the current one is looking for php, 100 odd URLs at a time including: GET //dbadmin/scripts/setup.php GET //phpMyAdmin-2.5.5-rc1/scripts/setup.php GET //mysqlmanager/scripts/setup.php GET /muieblackcat In my ICS web server, I was wondering what sort of creative response I could make to these requests, to annoy or slow down the hackers? I could leave the connection open without sending a response? Or send a vast amount of rubbish data in response? Any other suggestions? Just delay the answer for a couple second, this will slow down the probing. -- 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] TTwitter component
It is my understanding the GPL v3 license restricts any commercial closed source use except in the case that the GPL'ed source code is compiled into a separate library that is linked to during run-time vs. being compiled into the exe file itself. LGPL (for LesserGPL) let you link to a library without making your application source code available. This is the license a lot of library use (ex.: QT) If you use GPL code in your application, you have to license it under GPL too. It is my understanding the BSD license allows anyone to do anything with the source however you retain full copyright and ownership. For example the Mac OS X is based off of FreeBSD The BSD license let you take the code and do whatever you want with it, even making it closed source. As an example, the TCP/IP stack of Windows is closed source, but is based on the BSD stack. So if you license your code on BSD, someone could take it, compile a Delphi component with it, then call it is own and sell it. DISCALAIMER - I am not a lawyer either :) -- 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] TTwitter component
Always been a bit skeptic about open source, how do you make money from that :) Just ask RedHat or Canonical, for example. Better yet, ask François ! Like Jeff said, you're not open-sourcing your application, just the component. In return, you will get lots of debugging/testing and even improvements from other developers using your component. You can still sell your commercial app based on your component. B.t.w, hope you realize that your using open source components (ICS) to make money :) -- 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] SslWSocketServer SslWSocket
I have made this test procedure which works but only if there is just one client. - {This procedure sends the command to the clients and it works very nicely.} procedure TSimpleSslServerForm.SendCommand; begin SslWSocketServer1.Client[0].SendStr(ledSendCommand.Text); /// The PROBLEM here is: How do I send the command to a specific client if I have more than one client? Display('Command sent: ' + ledSendCommand.Text); end; - 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 Client[1]. If you have a third client then he's at Client[2]. I think you get the picture so change your procedure to something like this : procedure TSimpleSslServerForm.SendCommand(ClientNo: integer); begin SslWSocketServer1.Client[ClientNo].SendStr(ledSendCommand.Text); Display('Command sent: ' + ledSendCommand.Text); end; The number of connected client is available in TWSocketServer.ClientCount hth -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] SslWSocketServer SslWSocket
so change your procedure to something like this : procedure TSimpleSslServerForm.SendCommand(ClientNo: integer); begin SslWSocketServer1.Client[ClientNo].SendStr(ledSendCommand.Text); Display('Command sent: ' + ledSendCommand.Text); end; How do you set this -- (ClientNo)? How do you get the number in here? Can you please explain a bit? 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. hth -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] SslWSocketServer SslWSocket
On Mon, Jan 17, 2011 at 2:26 PM, daniel cc dan...@signedsource.com wrote: 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. Which client ? Like I said, if you have only 1 client, his number will be 0. If you have more than 1 client, then client 2 will be number 1 since Delphi use 0-based array. How do you differentiate your clients ? The server socket will just add all connecting client to the Client array. You have to know which one is which. If you only want to send commands to all connected clients, just iterate over all your clients (like Arno told you) and send the command to each one. If I can get the number of the client than I will be able to do the rest. Could you please help me out to get the client number into that memo? That's what I and others are trying to do. BTW, I'm not currently using ICS for anything, but I've done a lot in the past. I'm an ICS user since around 1999 and I can tell you that it's rock-solid. I think you should study the TcpSrv demo, as I've learned a lot with it. hth -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] SslWSocketServer SslWSocket
Here is what I have, and please see the line for the client number, Now I at least now where should I define it, just need to find out how? --- procedure TSimpleSslServerForm.SslWSocketServer1ClientConnect( Sender : TObject; Client : TWSocketClient; Error : Word); begin with Client as TTcpSrvClient do begin Display('Client connected.' + '[]' + ///Here I need to get the client number into the brackets ' Remote: ' + PeerAddr + '/' + PeerPort + ' Local: ' + GetXAddr + '/' + GetXPort); Display('There is now ' + IntToStr(TWSocketServer(Sender).ClientCount) + ' clients connected.'); LineMode := True; LineEdit := True; LineLimit := 80; { Do not accept long lines } OnDataAvailable := ClientDataAvailable; OnLineLimitExceeded := ClientLineLimitExceeded; OnBgException := ClientBgException; OnSslVerifyPeer := ClientVerifyPeer; ConnectTime := Now; end; end; Actually, TWSocketServer(Sender).ClientCount-1 will be your client number, until one of the client disconnect. Since it's a dynamic array, when a client disconnect, the client number will change. That`s why you need another way to identify your clients. From memory, when my client connected, they would send the server their unique ID and I would store that into a property of the client socket. You have to derive your client socket and add properties to it. Something like : TTcpSrvClient = class(TWSocketClient) public ConnectTime : TDateTime; UniqueID : string; end; then you assign that client socket in the server initialization (in the TcpSrv demo,in WMAppStartup) : WSocketServer1.ClientClass := TTcpSrvClient; { Use our component } Then when I wanted to send a command to a particular client, I would just iterate all connected client searching for the right ID. hth -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] SslWSocketServer SslWSocket
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? Come on guys, This can't be this complicated! too many opinions but none simple?? Well, like Francois said, you can use PeerAddr + PeerPort combination to get a unique identifier. I don't think there is a simpler way. But like I said, it's been a long time since I played with that. Sorry if I can't be more helpful. 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. hth -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Season's greetings
Joyeux Noël et Bonne Année 2011 à tous ! De Montréal, Québec, Canada On Thu, Dec 23, 2010 at 7:26 PM, DZ-Jay d...@caribe.net wrote: ¡Feliz Navidad y un próspero Año Nuevo a todos! (Merry Christmas and a prosperous New Year to everyone!) dZ. On Dec 23, 2010, at 17:40, Maurizio Lotauro wrote: Scrive Francois PIETTE francois.pie...@skynet.be: Hi Everyone ! Happy Holidays and best wishes for 2011 ! You too, and to other readers of this mailing list! Bye, Maurizio. This mail has been sent using Alpikom webmail system http://www.alpikom.it -- 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] Website hacked?
I then cleared the Firefox cache (Shift-Control-Delete) and opened www.overbyte.be Result: Popup blocked! Then clicked on Products/ICS. Result: Popup! I won a lottery! I get the same thing with Firefox under Linux, except that I didn't won the lottery, I just got an ad for 11 hosting. -- 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 doesn't always send my data?
You may use the evaluation version of CommView to capture localhost connections. See http://www.tamos.com/products/commview/ hope this help On Mon, May 25, 2009 at 3:04 PM, Markus Humm markus.h...@freenet.de wrote: You should use a network monitor (packet sniffer) to see if your message is sent or not accross the network. You'll then be able to understand if the problem is the sending side or the receiving side. Most of the time, transmission doesn't work when the message pump is no more called or for some reason doesn't dispatch the messages properly. Hello, problem here is: it's a connection to 127.0.0.1 which at least Wireshark doesn't see. Can you recommend any other packet sniffer capable of watching localhost connections? I don't want to move this other app. to a different PC right now as it's too much work in the current state. Greetings Markus -- 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