Re: [twsocket] newb using TWSocket for the first time

2007-09-26 Thread Francois Piette
> I now suspect that the data is only being sent once. > > When I receive a certain packet I pop up a messagebox asking the user > a question and I suspect it is this that is causing the packet to be > repeated since it is ultimately being displayed by a call from the > OnDataAvailable event. > > H

Re: [twsocket] Wiki

2007-09-26 Thread Francois PIETTE
>>maybe some of the people around here have forgotten that a Wiki >>for ICS exists http://wiki.overbyte.be/wiki/index.php/Main_Page. > I agree! I see it as "paying" a little for the components by documenting >when I am doing some development with ICS-components. It's so easy to >add a couple of li

Re: [twsocket] 100% CPU usage if data is not processed immediately

2007-09-27 Thread Francois Piette
> > See http://wiki.overbyte.be/wiki/index.php/Sending_and_receiving_data > > that discusses some possible data transfer modes. > Thanks for that link. My code is for a transport layer that should not > make any assumption on what is transferred, so binary mode without any > line buffering is the

Re: [twsocket] Wiki

2007-09-27 Thread Francois PIETTE
I added a link in the ICS main page. I moved the existing wiki link in the support page to the top of the list. -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be - Original Message ---

Re: [twsocket] Bug in OverbyteICSHttpProt.pas

2007-09-30 Thread Francois PIETTE
I have no problem to compile a simple console mode project with those defines. Please tell me what are the exact errors and where they occurs. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The

Re: [twsocket] Bug in OverbyteICSHttpProt.pas

2007-09-30 Thread Francois PIETTE
ng the definition of > IFNDEF and defining NO_ADVANCED_HTTP_CLIENT_FEATURES? I am 100% sure there > is a big problem! Also, with BCB2007 under Vista biz, I cannot debug > pascal > component code even when the unit is included in project and it's debug > compilation!! Any ideas??

Re: [twsocket] Bug in OverbyteICSHttpProt.pas

2007-10-01 Thread Francois PIETTE
;> > > dropped on the form compiles as well. Remember that you and >> > > I made some changes to get it working in BCB, those changes are >> > > not yet in any other distributions. >> > > >> > > The only strange thing I do not understand is that all icons >> > > are missi

Re: [twsocket] Another BCB2007 compatibility problem (of demos)

2007-10-01 Thread Francois PIETTE
Have you used ICS version which included in RAD Studio 2007 ? -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTE

Re: [twsocket] Cancelling TWSocketServer client connection

2007-10-01 Thread Francois PIETTE
At the time OnClientCreate is called, the socket is not assigned yet to the connection. So it is not easy to cancel the connection. OnClientConnect is a better place. From there you can call Shutdown to terminate the connection you don't want. Have a look at the source code for TCustomWSocketSer

Re: [twsocket] Another BCB2007 compatibility problem (of demos)

2007-10-01 Thread Francois PIETTE
>> Have you used ICS version which included in RAD Studio 2007 ? >I used the latest v6 beta from _your_ site. http://cc.codegear.com/Item/24572 -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.ove

Re: [twsocket] Another BCB2007 compatibility problem (of demos)

2007-10-01 Thread Francois PIETTE
> RAD Studio 2007 brings ICS? Is it in the additional > components, or as part of the default distribution? It is on the "Partner DVD". Also available on-line from CodeCentral. http://cc.codegear.com/Item/24572 btw: if you look into RAD Studio 2007 "easter eggs", you'll find my name :-) Same for

Re: [twsocket] Cancelling TWSocketServer client connection

2007-10-01 Thread Francois PIETTE
> However, it occurs to me that a lot of processing > seems to be occurring from the moment the client > arrived until the connection is established and the > OnClientConnect event is fired; and if the client > needs to be dropped for some reason, all this > processing is wasted. I don't think muc

Re: [twsocket] Bug in OverbyteICSHttpProt.pas

2007-10-02 Thread Francois PIETTE
gt;> > > On 10/1/07, Fastream Technologies <[EMAIL PROTECTED] > wrote: >> > > > >> > > > Francois, I think we have a communication problem! It is the >> > > > component package that does not compile with the conditional >> > >

[twsocket] Using SourceForge for ICS ?

2007-10-02 Thread Francois PIETTE
Hello Guys ! I'm considering the option of pushing ICS to SourceForge and I would like to have your opinion. Does someone already have a real experience of SourceForge as a developper ? The first decision is should I select CVS or SVN ? Any advice appreciated. -- [EMAIL PROTECTED] The author of

[twsocket] New ICS-V6 beta available - updated for RAD Studio 2007

2007-10-02 Thread Francois PIETTE
There is a new ICS-V6 beta available. Updated for RAD Studio 2007. Still OK for Delphi 7. Thanks to Arno Garrels, Bjornar Nielsen, Fastream and many orthers for their help. -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component

Re: [twsocket] TWSocketThrdServer - Bogus OnDataAvailable triggeredwhen Closed.

2007-10-03 Thread Francois Piette
You should call Shutdown to gracefully close the connection. If you want to call close, do it using an intermediate custom message. -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Mess

Re: [twsocket] TWSocketThrdServer - Bogus OnDataAvailable triggeredwhen Closed.

2007-10-03 Thread Francois Piette
> > You should call Shutdown to gracefully close the connection. > > If you want to call close, do it using an intermediate custom message. > Isn't it what CloseDelayed is meant for? Yes, of course ! -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi

[twsocket] AGAIN: New ICS-V6 beta available - updated for RAD Studio 2007

2007-10-03 Thread Francois PIETTE
Sorry, but there was a problem in SMTP component with yesterday's version. Uploaded fixed version today. Thanks to Arno for pointing this issue out. -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.ov

Re: [twsocket] New ICS-V6 beta available - updated for RADStudio 2007

2007-10-03 Thread Francois PIETTE
tpProt.pas is used MimeUtils.pas MUST be exchanged due to a bug in DoFileEncQuotedPrintable. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Francois PIETTE wrote: > There is a new ICS-V6 beta available. Updated for RAD Studio 2007. > Still OK for Delphi 7. > Tha

Re: [twsocket] Using SourceForge for ICS ?

2007-10-08 Thread Francois PIETTE
> very easy to maintain. If Francois does not want to put the > SSL code into the project/repository as well ? I think we > won't safe very much. What do you think? Currently I don't plan to put ICS-SSL on SourceForge. -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare

Re: [twsocket] Using SourceForge for ICS ?

2007-10-08 Thread Francois PIETTE
> But if v6 represents the version where most development > will be done, and v5 is only for legacy support That's it. -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscri

[twsocket] ICS on SourceForge, which license is best ?

2007-10-08 Thread Francois PIETTE
I would like to have your opinion about which license I should select at SourceForge (http://www.opensource.org/licenses/category). I have not much time to read all possible licenses. You all know the current license displayed in each source file (see below for reminder). I would like to stay a

Re: [twsocket] Using SourceForge for ICS ?

2007-10-08 Thread Francois PIETTE
> The goal is to make development easier for a workgroup isn't it? Yes, it is. > ICS can only benefit from such a concept. That must not mean > to move the source to SourceForge, all we need is a server that > runs SVN, 24 hours a day, ideally under your control. What are the requirement for suc

Re: [twsocket] ICS on SourceForge, which license is best ?

2007-10-08 Thread Francois PIETTE
provision to prevent confusion between > derivative works and the original (i.e. modified > versions cannot be claimed to be the original). > > The only thing missing is the postcard condition :) > >-dZ. > > > >>--- Original Message --- >>Fr

Re: [twsocket] Over TWSocketServe

2007-10-12 Thread Francois Piette
> Is there a example over how socketserver send data to several clients? Do you mean TWSocketServer ? If yes, then TWSocketServer doesn't send anything to client. It manage client connections which in turn are handle by a separate TWSocket instanciated by TWSocketServer. TWSocketServer has Client

Re: [twsocket] Over TWSocketServe

2007-10-12 Thread Francois Piette
> What difference there is between to use the ICS and the Delphy library (TServerSocket)? This is not the place to discuss such topic. You are posting in ICS support mailing list where you can talk about ICS. If you want to compare product, use the general purpose maling list [EMAIL PROTECTED] (sa

Re: [twsocket] A TFtpCli application performance question

2007-10-15 Thread Francois PIETTE
> I've written a FTP-uploader without taking much care of speed issues. > It uploads 17000 files with total size of 830 MB in 56 mins in my > 100 MBit/s LAN (logging each FTP-command). > > What do you think, is that: > a) Poor > b) OK > c) Fast > > I currently don't have any idea. Actually, this i

Re: [twsocket] problem with TCP server

2007-10-16 Thread Francois Piette
>Now I have a form which has TWSocket server and reads the clients data, When >this data is something "special" it calls a thread to do the parsing. >My problem: when the thread it's called it consumes the system resources and >the client's data received meanwhile is discarded. >Can anybody tell me

Re: [twsocket] A TFtpCli application performance question

2007-10-16 Thread Francois Piette
> > Actually, this is a lot of small files (48KB mean size). > > Speed is roughly 2 Mbps which is low for a 100 Mbps. > Oha, as I read between the lines, I have to rework my code :( You never reach 100 Mbps which is faster than many disks. Once you have large data size, you overflow the cache mem

Re: [twsocket] FTP Client in a separate thread

2007-10-17 Thread Francois PIETTE
> after some successful years with ICS I am now trying to do some FTP > transfers in a separate thread. Everything happens in the thread, > including the FTPClient component creation. The thread itself uses > the synchronous commands, for example FTPClient.Get. > > I am currently using ICSV6 (Overb

Re: [twsocket] ICS v6 migration considerations

2007-10-17 Thread Francois PIETTE
> I've been using ICS V6 in all my commercial applications > now for almost a year, and it is absolutely solid. > I have no idea why V6 is still called a beta, this is why > many people refuse to use it. Quick question: Is someone against renaming ICS-V6-BETA as "released" ? Contribute to

Re: [twsocket] A TFtpCli application performance question

2007-10-17 Thread Francois PIETTE
Actually, this is a lot of small files (48KB mean size). Speed is roughly 2 Mbps which is low for a 100 Mbps. > > Just tested uploading a single 2 GB file at 44 Mbits/s, CPU use went > down when server was writing to disk heavily so most likely real line > speed is even better. So the pr

[twsocket] Mailing list usage

2007-10-17 Thread Francois PIETTE
To all subscribers: 1) Please do not use HTML or RTF messages in the list. Use only plain/text messages (by default Outlook uses HTML ! You must change the setting). When replying, be sure to use plain/text. If someone email to list accidently NOT in plain text and if you reply to it,

[twsocket] ICS Registration

2007-10-17 Thread Francois PIETTE
As you subscribed to ICS support mailing list, you probably use ICS. Good ! But have you taken time to register your ICS copy ? ICS is freeware but to use it, you must register it. Registration is very simple: just mail a [real, paper] picture postcard to the author (me). You can find instruction

Re: [twsocket] TWSocketServer Client.Shutdown(1) does not destroy it

2007-10-18 Thread Francois Piette
> > Your code does not guarantee that all data will be sent > > to the client. Make sure that ShutDown() is called after > > all data has been delivered to winsock. Something like > > that: > Thanks Arno. But now I'm confused: It was because I was told to call > Shutdown(1) that I used it when c

[twsocket] Test message, please do not answer !

2007-11-09 Thread Francois PIETTE
Test message, please do not answer ! -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.

[twsocket] Test message, please ignore

2007-11-10 Thread Francois PIETTE
Test message, please ignore -- [EMAIL PROTECTED] 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] The list is back !

2007-11-10 Thread Francois PIETTE
Sorry that we have had an unexpected absence for the past few weeks - believe me this was not planned :( For those who would like a little of the background - Peter Conradie our List Host (the guy who generous maintains things and pays the bills) found that the company who was hosting our Lists ke

Re: [twsocket] OT - connecting 2 LAN's thru internet gateway

2007-11-10 Thread Francois PIETTE
> connecting 2 LAN's thru internet gateway > Is this possible ? Of course :-) > An idea's ? Unless I don't correctly understand what you need, it is simply a pair of routers having a VPN type connection between. This would be at layer 3 (IP). A remote bridge would also make it at layer 2 (Ethe

Re: [twsocket] OT - connecting 2 LAN's thru internet gateway

2007-11-11 Thread Francois PIETTE
>>> connecting 2 LAN's thru internet gateway >>> Is this possible ? >> >> Of course :-) >> >>> An idea's ? >> >> Unless I don't correctly understand what you need, it is simply a pair of >> routers having a VPN type connection between. This would be at layer 3 >> (IP). >> >> A remote bridge would a

Re: [twsocket] How should an ICS web server treat this?

2007-11-11 Thread Francois PIETTE
> Sometimes I see URLs in CGI standard such as, > http://www.opengl.allanpetersen.com/index.php/contents/Main/Programming/OpenGL.html > That has no "?" for parameters and instead params are listed after > index.php. > How should we parse the file name out of it? I have applications working with s

Re: [twsocket] How should an ICS web server treat this?

2007-11-11 Thread Francois PIETTE
> What if the system is generic and there is hundreds of folders and .php's? That is only a matter of information organization and search algorithm. There are plenty of technics to speed up searches. -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the

Re: [twsocket] Keeping a Responsive UI during THTTPCli Download

2007-11-11 Thread Francois PIETTE
>I have a simple program that downloads a large file using the HTTP Client. > How would one keep the user interface responsive during a long > asynchronous > download? > > I have tried a number of things and finally ended up adding a timer with > an > Application.ProcessMessages in it. Is there a

[twsocket] [OT] Writing Vista applications using Delphi

2007-11-13 Thread Francois PIETTE
Altough out of topic, I found this document very interesting: http://bdntv.borland.com/pix/fhaglund/VistaUACandDelphi/VistaUACandDelphi.ppt Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The auth

Re: [twsocket] One Time Passwords

2007-11-14 Thread Francois PIETTE
> However I wonder how you translate the stuff below? > > /* > * copy the resulting 64 bits to the result buffer in little endian > * fashion (analogous to the way MD4Final() and MD5Final() do). > */ > for (i = 0, j = 0; j < 8; i++, j += 4) > { > result[j] =

[twsocket] ICS-V6 updated

2007-11-14 Thread Francois PIETTE
Minor update for ICS-V6 available. It contains a fix by Arno Garrels for SMTP component to avoid message truncation in some rare cases. It contains a fix by myself for MIME decode component which was adding a CRLF to attached text files when the last line didn't had an ending CR/LF. Contribute

Re: [twsocket] ISO 8583 Switching Transaction

2007-11-14 Thread Francois PIETTE
> How to use TWSocket or MidWare components to implement > ISO 8583 Switching Transaction ? Any suggestions or > documentary are very helpful to me to realize it. I have no knowledge about this protocol. But whatever it is, if it is TCP/IP, then TWSocket (client side) or TWSocketServer (Server si

Re: [twsocket] http://www.overbyte.be/

2007-11-15 Thread Francois PIETTE
Thanks Angus. The website is down. They are restoring backups. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Angus Robertson - Magenta Systems Ltd" <[EMAIL PROTECTED]> To: Sent: Thursday, November 15, 2007 6:08 PM Subject: [twsocket] http://www.overbyte.be/

Re: [twsocket] http://www.overbyte.be/

2007-11-15 Thread Francois PIETTE
Basically this message means the server is down and will probably not be up before tomorrow. -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be - Original Message - From: <[EMAIL

Re: [twsocket] Receive vs ReceiveStr, Speed vs Complexity

2007-11-17 Thread Francois PIETTE
>I have been happily enjoying the simplicity of using ReceiveStr. However I > now have a requirement to send much larger amounts of data. I have > profiled > my app and have concluded that the largest bottleneck ( > 50%) is > ReceiveStr. > > My app now needs to send a large number of records. C

Re: [twsocket] TWSocket component within DLL

2007-11-24 Thread Francois PIETTE
> I'm trying to use TWSocket to listen for incoming data and display it on > a console. TWSocket is initialised and used within a Delphi DLL. > > The problem I have is that I initialise the TWSocket component, but none > of the events fire to tell me about the incoming data. If I use the > componen

Re: [twsocket] Delphi 4

2007-11-26 Thread Francois Piette
> will the V6 version compatible with delphi 4 ? I don't think so. It make use of Delphi features introduced with later versions. V6 was designed with D7 in mind. You should consider upgrading your Delphi to the current version (D2007). Contribute to the SSL Effort. Visit http://www.overbyte.be/e

Re: [twsocket] Delphi 4

2007-11-26 Thread Francois Piette
uot;troppo gigio" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Monday, November 26, 2007 4:09 PM Subject: Re: [twsocket] Delphi 4 > I've upgraded to Delphi 2005 but Delphi 4 is really faster than the > others > > > On 11/26/07, Francois Piette <[

Re: [twsocket] parameter error in twsocket w/d2

2007-11-26 Thread Francois Piette
> I am using Delphi 2 c/s. I also got the "cannot assign to a read-only > property" error when installing cslogger.pas. I found the following > fix in one of the threads: Just add the compiler option "writable constant" in the project options (Or {$J+} in the offending source code if memory serve

Re: [twsocket] Fwd: Re: parameter error in twsocket w/d2

2007-11-27 Thread Francois PIETTE
L PROTECTED]> To: Sent: Tuesday, November 27, 2007 7:13 PM Subject: [twsocket] Fwd: Re: parameter error in twsocket w/d2 > Quoting Francois Piette <[EMAIL PROTECTED]>: > >>> I am using Delphi 2 c/s. I also got the "cannot assign to a read-only >>> property"

Re: [twsocket] turbo delphi.

2007-11-28 Thread Francois Piette
> hey just woundering. > will ICS work with turbo delphi? Turbo Delphi is Delphi 2006 so there is no problem. Note that Turbo Delphi Explorer (the free version) doesn't want to install third party components so you can't install ICS components nor any other in the Tools Palette. This doesn't prohi

Re: [twsocket] Trying to do some old stuff

2007-11-29 Thread Francois PIETTE
* * * * * * * * * * * * * > REM * * > REM * ICS - Internet Component Suite* > REM * * > REM * Delphi 1 automated construction V1.00 * > REM * (c) 1997-

Re: [twsocket] Help with SmtpClient

2007-11-30 Thread Francois PIETTE
>I am using BCB6 with SmtpClient. My program executes Open() > then Helo() with no errors but when I try to > execute Mail() I get an error message that the "Component is > not Ready". I have examined the property > settings several times but do not see why Mail() does not work. You are tryi

Re: [twsocket] Trying to do some old stuff

2007-11-30 Thread Francois PIETTE
Socket; > ^Compile error > C:\D_32\ICS\Delphi1> > > > > I'm still not convinced it's picking up the correct version of Delphi, > as the command line compiler signs itself as version 8.0 ? Though it > is dated 1995... > > > Still mildly confused. >

Re: [twsocket] Webserver with local connections only

2007-12-02 Thread Francois PIETTE
And also probably limiting the number of concurrent connections to what flash needs. And also examine the request header to make sure it comes from the flash application. Maybe you can craft some request from your application so that the server application knows it comes from your own applicatio

Re: [twsocket] TWSocket transliterating tabs to spaces (?!)

2007-12-03 Thread Francois PIETTE
Are you using line mode and line edit ? -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Monday, December 03, 2007 9:09

Re: [twsocket] AV in TWSocketThrdServer.PutDataInSendBuffer

2007-12-06 Thread Francois Piette
>The full error is "[EAccessViolation] Access > violation at address 00469094 in module > 'SmailQ_con.exe'. Read of address 0008" > { THE FOLLOWING LINE } > if FBufList.Count = 0 then begin It is likely that FBufList is already freed and nilled when the line is executed.

Re: [twsocket] AV in TWSocketThrdServer.PutDataInSendBuffer

2007-12-06 Thread Francois Piette
> > For some reason, you call PutDataInSendBuffer after it has already been > > freed. > > After the object was freed, or the buffer was freed? Keep in mind that > I just called WSocketThrdServer.Free, so it was problably destroying > the object while it was attempting to send...? I think freeing

Re: [twsocket] New V6 beta FTP client and server components

2007-12-11 Thread Francois Piette
> Hopefully Francois likes the idea of having > such a 'multi-listen-server' in ICS? Sure ! The best implementation would have been to add it to TWSocketServer in a way multiple port/IP are simply added and the remaining stay almost the same. -- [EMAIL PROTECTED] Author of ICS (Internet Component

Re: [twsocket] Why is ICS v6 still BETA?

2007-12-12 Thread Francois PIETTE
> the latest v5 is from 1st of mai 2006... Mostly because I'm somewhat lazy. And also very busy. -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your setti

Re: [twsocket] Ping Fastream and Francois

2007-12-14 Thread Francois PIETTE
I don't really remember but I still have the email conercning that issue. I forwarded it to you provately. -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be - Original Message -

[twsocket] [OT] RAD Studio 2007 december update available

2007-12-18 Thread Francois Piette
Just to share this interesting information: RAD Studio 2007 (and by the way Delphi 2007) december update is available from CodeGear registered user website. Direct link: http://cc.codegear.com/item/25238 (This link is only available when logged as a registered user. General link is at http://www.co

Re: [twsocket] Question about changing some UDP application

2007-12-22 Thread Francois PIETTE
> Question: can I simply change my code so that the sending UDP socket > also does the receiving for his connection? No problem. Make you socket listening and call SendTo to send any data to the given IP/Port. At first glance, a single socket is needed for everything provided each device send to

Re: [twsocket] Question about changing some UDP application

2007-12-23 Thread Francois PIETTE
> my problem is, that like it is designed now my application needs a fixed > IP address since I only use one single socket which does all the > receiving and which is set up to some fixed IP/port for this. Those > devices are set up as well in a way that all data they want to send me > goes to this

[twsocket] [OT] Merry Christmas !

2007-12-23 Thread Francois Piette
Hi everybody ! I want to wish a Merry Christmas and a Happy New Year to you and your families. -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket

Re: [twsocket] Question about changing some UDP application

2007-12-27 Thread Francois Piette
> - for each device the PC has one UDP socket for the sending side. That is not necessary. You can send using the [single] listening socket. Use SendTo instead of Send method. > - I'd like to get rid of my fixed IP address. As far as your Delphi program is concerned, this has no impact. It only

Re: [twsocket] ICS hidden window cannot be created error #8--what isthis?

2008-01-01 Thread Francois PIETTE
> Please see http://www.fastream.com/ics/icshiddenwindow.png . Basically, it shows error #8 when creating a window. > This occurs > when I run the service with "attach to process" and with full debug > information. There are 8000-1 clients connected. Optimizations on. > What > could be the r

Re: [twsocket] aspx page ICS Auto Fill, Post, and Read Answer

2008-01-04 Thread Francois Piette
> is there a specific reason you want to use ics for that ? Surely his program is written using Delphi. > imho its much simpler to do stuff like this with selenium. Don't be offended, but since this is the ICS support mailing list, please avoid using it to answer questions with any other product

Re: [twsocket] aspx page ICS Auto Fill, Post, and Read Answer

2008-01-04 Thread Francois Piette
You can't fill a HTML form using ICS, but you can send the same things as the browser do when you submit an HTML form. To sublit a form using the ICS HTTP client component, you must have a look at the source of the form and extract the action (that is the URL which will process the form), the metho

Re: [twsocket] aspx page ICS Auto Fill, Post, and Read Answer

2008-01-04 Thread Francois PIETTE
posting. Would you have > an example of this. In this case, with the ASPX Page, after filling in > the data and submitting, they did not appear on the address line with > the other input variables. > > Thanks, > Terry > > -Original Message----- > From: [EMAIL PROTEC

Re: [twsocket] Memory leaks...

2008-01-07 Thread Francois PIETTE
> Sorry for the trouble. > > I just fixed an error in another part of the program, a call to a driver, > having nothing to do with the TWSocket or really anything related to it, > and > AQTime reports only one leak of 4096 bytes. This one I have no idea what > it > is. It appears to be from MakeO

Re: [twsocket] aspx page ICS Auto Fill, Post, and Read Answer

2008-01-07 Thread Francois PIETTE
I found examples of how to pick up the URL, the method (POST), the >> encoding (default in this case) from reading past postings and sample >> code, but do not think I found any example code showing how to utilize >> data fields that need to be filled in prior to posting. Would you

Re: [twsocket] TCP and fragmentation

2008-01-30 Thread Francois PIETTE
> So what about TCP fragmentation now? How often does it occur in this > situation? Is it less likely to occur on a lan than on some internet > connection? Can I influence it in any way? IMO fragmentation is an IP issue, not an UDP nor TCP issue. IP is the protocol below both TCP and UDP. -- [E

Re: [twsocket] Monitor TWSocket listening status

2008-01-31 Thread Francois Piette
> I think of adding several lines of code to monitor the listening status of > the TWSocket, in case it was not the code kicks start it to listen again. > This can help me to identify whether the problem is from the main thread. > Can anybody kindly advise how to implement this mechanism? I have t

Re: [twsocket] Monitor TWSocket listening status

2008-01-31 Thread Francois Piette
> Back to implementation, is there a way to do these steps: > 1. Periodically check the state of TWSocket > 2. If it is not listening, put it to listen again > 3. If no response from TWSocket, destroy it and create a new instance You can have one TWSocket connect to another one within the same app

Re: [twsocket] Monitor TWSocket listening status

2008-02-01 Thread Francois Piette
> Don't know if the reported state is accurate or not I would not rely on the State property. Instead I would use the events. The State property is anyway changed from the event handlers at the lower level. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTE

[twsocket] [OT] Delphi survey

2008-02-05 Thread Francois PIETTE
Sorry for out of topic message, but I think this might be important for all of us: CodeGear is conducing a survey about Delphi ( http://dn.codegear.com/article/37604 ). If you want to somewhat influence the future of Delphi, please fill the survey. For those having already filled a survey in th

Re: [twsocket] AN: New e-mail protocol (spam free and more!)

2008-02-07 Thread Francois PIETTE
> ICS has codes for > SMTP/POP/HTTP/FTP (all text) but not for TCP. I'm not sure about what you mean. ICS as TWSocket and TWSocketServer for TCP. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare

Re: [twsocket] Newbie Question: How to use the HTTPCli component toconnect to USPS

2008-02-19 Thread Francois Piette
> I understand I need to use the HTTPCli component to connect to the > webserver, but am having trouble in how to use and hope that someone on this > list would take pitty on me and help to guide me in how to accomplish this. Have you looked at HttpTst sample program ? I think it will do what you

Re: [twsocket] Invalid Window Handle when Application Closed and ActiveConnections

2008-02-19 Thread Francois Piette
> I get an Error when I close my Server Application: "Invalid Window Handel" > I get the ERROR when there are USers Connected. Run your application under the debugger to see where it happend exactly. > I want to put something in Application on close Event. I suggest you disconnect all clients

Re: [twsocket] Invalid Window Handle when Application ClosedandActiveConnections

2008-02-19 Thread Francois Piette
If I hit Ctrl+F3; to get the STACK TRace, there is nothing that is > > worthwhile to track. > > > > > > I have also tried adding this to the Application OnClose Event: > > procedure TMainForm.FormClose(Sender: TObject; var Action: TCloseAction); > > var > >

Re: [twsocket] Silly telnet question

2008-02-22 Thread Francois PIETTE
> I've tried the tnclient example by telnetting a cisco router. > > The problem is that emulvt writes the output like that > > T h i s i s t h e o u t p u t > > What's wrong (or what am I doing wrong?) Click on the options button and play with font, char zoom and line zoom. -- [EMAIL PROT

Re: [twsocket] How can an ICS server can cause Windows RDP to stopworking?

2008-02-23 Thread Francois PIETTE
All sockets are used. There is a maximum number of concurrent sockets available for a given OS/Config, all applications. You reached that maximum. Either because of heavy trafic or because you leak some resource somewhere. Use "netstat -a" to list all socket, or use TcpView from SysInternals.org

Re: [twsocket] How can an ICS server can cause Windows RDP tostopworking?

2008-02-23 Thread Francois PIETTE
> IQRP pools 1024 closed sockets in a thread context. Could that be the > cause > of a problem? Socket have to be closed from the thread context they have been created. > Is there any limit on the number of sockets/thread? I don't know of any limit of socket per thread. The limit is system wide

Re: [twsocket] How can an ICS server can cause Windows RDPtostopworking?

2008-02-24 Thread Francois PIETTE
>> Socket have to be closed from the thread context they have been created. > WAIT a moment--what do you mean? I create the socket in the main thread > pool, accept() there, then postthreadmessage to worker thread, serve, then > shutdown there and then destruct there. Do you say this is buggy? Ye

Re: [twsocket] FTPClient Put problem

2008-02-27 Thread Francois PIETTE
> In case of upload with FTPClient the upload is slow. Pay attention to progress bar or similar GUI gadget. If not programmed correctly, they could slow down transfer a lot. Also, try running the FTP component in a worker thread, maybe with a priority set to something higher than the main trhrea

Re: [twsocket] ICS won't work anymore...

2008-02-27 Thread Francois PIETTE
> Maybe a temperary bug in the server using ICS/BCB6 and using > HTTP/1.0, i also getting the page now. This happend quite frequently: at server side, there are scripts, the script sometimes use header lines found in the HTTP request sent by the client. The script developper test his script wit

Re: [twsocket] ICS won't work anymore...

2008-02-28 Thread Francois Piette
> Hi, That’s it guys, it was the Agent, I change it to Mozilla/5.0 (compatible), > and now it running again. But why, is it Reuters that just got an idea, to not let > Mozilla/3.0 (compatible) go though anymore? It is not the first time Reuters > just change the feed, so am not surprise. What is th

[twsocket] FtpCli update for ModeZ by JJM

2008-03-02 Thread Francois PIETTE
Hello ! JJM has modified FtpCli V5 to enhance ModeZ support. His source code is available from http://www.overbyte.be/arch/dump/FtpCliJJM_ModeZ.pas. JJM added: -Property CompLevel : TCompressionLevel Read fCompLevel Write fCompLevel Default clFastest; {JJM} -Property ModeZUploadActive :

Re: [twsocket] Using Quote.

2008-03-11 Thread Francois Piette
> However, I want a more complete listing, more in line > with the 'ls -l' bash command. This is non standard and works only on some Unix hosts. Maybe it is OK for you. There are also extended FTP commands supported by the component. Look in the comments at the start of OverbyteIcsFtpCli.pas. Sear

Re: [twsocket] Using Quote.

2008-03-11 Thread Francois Piette
1) You can't use Quote command to send a command which require a data transfer. 2) The result of the various dir list functions are in the local file or stream you specified (a dir list is just another file transfer as far as FTP protocol is concerned). Contribute to the SSL Effort. Visit http://w

Re: [twsocket] Using 'PUT' to upload a file

2008-03-13 Thread Francois Piette
If it doesn't work, please show the error message and the dialog between the server and you app. You can also check the transfert using FtpTst sample program which comes with ICS. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet

Re: [twsocket] What is the preferred stable up-to-date ICS distributionto use ?

2008-03-14 Thread Francois Piette
> [3] ICS V6 for Delphi 7 and up Beta (Nov 14, 2007) This is the one you should use. Actually there not a different version for BCB. It is labelled beta because I'm really lazy. Shame on me. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS

Re: [twsocket] IP Camera

2008-03-14 Thread Francois PIETTE
> Has anyone done any work with getting data/images from IP cameras using > ICS? > Seems to be a series of JPGs are sent from the camera. You probably simply need to use the HTTP client component to get the jpeg images. Only a few lines is needed to download a jpeg file. See HttpTst sample progr

Re: [twsocket] httpserver memoryleak

2008-03-16 Thread Francois PIETTE
> Why? do I have to release this stream? Of course you have ! > Where is the place to do it? When it has been sent and you don't need it anymore. For example from the OnRequestDone event handler. -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the f

<    1   2   3   4   5   6   7   8   9   10   >