Re: [twsocket] Is there a way to download a file in threads?

2005-04-14 Thread Fastream Technologies
Hello, Well, async cannot take advantage of multi-processor systems. Also for CGI and ISAPI execution, threads seem to be a better way. And all the commercial Web servers I know such as IIS and Apache chose it for these reasons. Best Regards, SZ - Original Message - From: Bjrnar

Re: [twsocket] THttpServer not complies with RFC?

2005-04-18 Thread Fastream Technologies
not tested this, but the sourse says that answering 501 was added Mar 07, 2005. Did you test with latest release? Regards Bjrnar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fastream Technologies Sent: 18. april 2005 10:48 To: ICS support mailing Subject

[twsocket] Problem with HTTPServer

2005-05-05 Thread Fastream Technologies
Hello, I am trying to return a page after a HTTP POST is completed successfully. I noticed to do this, I need to set THttpConnection(Sender).FState := hcHeader, but the variable is no accessible. I propose to add this line to THttpConnection.PostedDataReceived(). Best Regards, SubZero -- To

Re: [twsocket] Problem with Anonymous User [TFtpClient]

2005-05-05 Thread Fastream Technologies
Hello, Anything other than the empty string should be fine in most circunstances. Alternatively you can assign a virtual email address such as [EMAIL PROTECTED] or better a real email address. Best Regards, SubZero - Original Message - From: Artem Antonov [EMAIL PROTECTED] To:

Re: [twsocket] Problem with HTTPServer

2005-05-06 Thread Fastream Technologies
: Thursday, May 05, 2005 9:59 PM Subject: Re: [twsocket] Problem with HTTPServer I don't understand your problem. Returning a page as a reply of a POST is basic work. No need to change anything. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Fastream Technologies [EMAIL

Re: [twsocket] Out of the office until 09 May 2005

2005-05-06 Thread Fastream Technologies
I think there should be a prefix for such out of office (i.e. OoO:, just like ANN:) and emails with such prefixes in their subjects should not be forwarded by mailing lists. Just my two cents.. SZ - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing

Re: [twsocket] [HELP] FTPServer and building directory event

2005-05-11 Thread Fastream Technologies
Hello, This is a very complex task as you will need to create virtual folders. I have done it in my program NETFile Server but it took 3 weeks with testing. Also, if you wish to show directory permissions the UNIX style (like drwxr--, that's additional work too. If your project is not a real

Re: [twsocket] [HELP]FTPServer within a service...

2005-05-18 Thread Fastream Technologies
Hello Guillaume, We have an implementation of ICS FTP server within a service however it has no service GUI as its GUI is made of another process that communicates with the engine through XML/HTTP. Take a look at http://www.fastream.net/netfileserver.htm and if you want to design something

Re: [twsocket] [FTP Client] Mask on files

2005-05-19 Thread Fastream Technologies
Hello, The mget command of DOS ftp does work the same way as you described. There is no easy way. Regards, SZ - Original Message - From: Artem Antonov [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, May 19, 2005 2:21 PM Subject: [twsocket] [FTP Client] Mask

Re: [twsocket] Connection not closed in WebServer with IE

2005-05-19 Thread Fastream Technologies
You forgot to set the Content-Length. Regards, SZ - Original Message - From: Bruno Sonnino [EMAIL PROTECTED] To: twsocket@elists.org Sent: Thursday, May 19, 2005 5:30 PM Subject: [twsocket] Connection not closed in WebServer with IE I am using a program based on the WebServer demo,

[twsocket] OT: Fw: eLists Needs a New Host

2005-05-20 Thread Fastream Technologies
Perhaps we should migrate to Google/Yahoo groups? We might lose the archieve too! Regards, SZ - Original Message - From: Ken Kyler [EMAIL PROTECTED] To: delphi-talk@elists.org Sent: Saturday, May 21, 2005 12:39 AM Subject: eLists Needs a New Host Justin Yunke and I, the hosts of

Re: Re[2]: [twsocket] Connection not closed in WebServer with IE

2005-05-23 Thread Fastream Technologies
Hi Francois, I think you should state the latest version and its release date in your signature to avoid such needless conversations. Regards, SZ - Original Message - From: Francois Piette [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, May 23, 2005

[twsocket] Folder names in THttpServer

2005-05-27 Thread Fastream Technologies
Hello, I have some reports and experience that there is a problem with non-ascii characters in folder names--not with files. Here is the report I got: The characters [EMAIL PROTECTED] turns out to be 80C?/A. ATV [EMAIL PROTECTED] turns out to be ATV Q?/A. [EMAIL PROTECTED] turns out to be

Re: [twsocket] Folder names in THttpServer

2005-06-05 Thread Fastream Technologies
understand. You should single step thru the component code and try to understand what. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Saturday, June 04, 2005 10:52 AM Subject

Re: [twsocket] Folder names in THttpServer

2005-06-05 Thread Fastream Technologies
No Turkish is not 16 bit characters. I sent you the two distinct problematic characters! I will try to build a test code. Best Regards, SZ - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Sunday, June 05, 2005 12:09 PM

[twsocket] Strange IP problem

2005-07-14 Thread Fastream Technologies
Hello, I am having a strange problem with my AUHttp Wininet based HTTP client and ICS THttpServer server. The problem is really strange. I have had reports of this from customers but could not have reproduced it until today. Here is the config: WinXP Pro SP2 all updates AMD 64 3000, 1GB RAM

[twsocket] Fw: Strange IP problem

2005-07-14 Thread Fastream Technologies
Please ignore my previous message as I found the problem. FYI, it was the proxy setting on the IE. ;( SZ - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, July 14, 2005 1:59 PM Subject: Strange IP problem

Re: [twsocket] Fw: Strange IP problem

2005-07-14 Thread Fastream Technologies
Please ignore my previous message as I found the problem. FYI, it was the proxy setting on the IE. ;( You should use ICS HTTP client instead of WinInet. You'd avoid such dependence on IE settings (WinInet _is_ IE). When I wrote that unit, ICS HTTP was not well capable of proxies. I will

Re: [twsocket] Typo in IcsSha1.pas ?

2005-07-24 Thread Fastream Technologies
Actually, as I reported in the SSL list, there are a few more of these bomb() bug. Francois, please just search for Bomb and correct them. Best Regards, SubZ - Original Message - From: Keith Willis [EMAIL PROTECTED] To: twsocket@elists.org Sent: Sunday, July 24, 2005 6:13 PM Subject:

Re: [twsocket] Proxy authorization in HTTPCli

2005-07-25 Thread Fastream Technologies
The proxy variables are sent to the proxy server for the proxy to forward the request. They are for the proxy to authorize. The username/password is for the web server in response to the 401 require authentication reponse header. They authorize the user for access to the protected page (like

Re: [twsocket] HttpCli: Opinion wanted !

2005-08-17 Thread Fastream Technologies
business at the speed of thought! Thanks, SZ - Original Message - From: Guillaume MAISON [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, August 17, 2005 5:04 PM Subject: Re: [twsocket] HttpCli: Opinion wanted ! Fastream Technologies a écrit : This time I

[twsocket] Converting Send() and Receive() to Sync

2005-09-23 Thread Fastream Technologies
Hello, I have been trying to convert a professional ISAPI 6.0 component to ICS. Scripts are now running but as for the internal logic of it, it needs sync read and write procedures. I have coded the attached unit for it but it gives access violations in InternalDataReady. I believe the

Re: [twsocket] Converting Send() and Receive() to Sync

2005-09-23 Thread Fastream Technologies
For some reason the 2kb attachment did not go through. Here is the link: http://www.fastream.com/ics/WebConnection.pas Best Regards, SZ - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, September 23, 2005 11:52

Re: [twsocket] Converting Send() and Receive() to Sync

2005-09-25 Thread Fastream Technologies
- Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Sunday, September 25, 2005 3:03 PM Subject: Re: [twsocket] Converting Send() and Receive() to Sync http://www.fastream.com/ics/WebConnection.pas I have been trying to convert

Re: [twsocket] Converting Send() and Receive() to Sync

2005-09-25 Thread Fastream Technologies
the main thread when done. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Sunday, September 25, 2005 3:21 PM Subject: Re: [twsocket] Converting Send() and Receive() to Sync

Re: [twsocket] Converting Send() and Receive() to Sync

2005-09-25 Thread Fastream Technologies
I thought you could suggest an implementation fix as the design and code is simple and according to the KISS principle (Keep It Small and Simple) it SHOULD work.. ;) Best Regards, SZ - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing

[twsocket] Sync THttpConnection derivative

2005-10-05 Thread Fastream Technologies
Hello, I know most of you are very inclined to say that sync is no good! but it is not that simple. I have licensed code from BPDX.com for ISAPI and ISAPI filters andt hese units (more than 100k!) need to read, write and alter header or an existing THttpConnection derivative class. Starting

Re: [twsocket] Sync THttpConnection derivative

2005-10-06 Thread Fastream Technologies
? Best Regards, SubZ - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, October 05, 2005 3:46 PM Subject: [twsocket] Sync THttpConnection derivative Hello, I know most of you are very inclined to say that sync

Re: [twsocket] Sync THttpConnection derivative

2005-10-09 Thread Fastream Technologies
message. Put a breakpoint to be sure. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, October 06, 2005 2:21 PM Subject: Re: [twsocket] Sync THttpConnection

[twsocket] Fw: Sync THttpConnection derivative

2005-10-10 Thread Fastream Technologies
- Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: Fastream Technologies [EMAIL PROTECTED] Sent: Sunday, October 09, 2005 6:33 PM Subject: Re: [twsocket] Sync THttpConnection derivative Wrong address. -- [EMAIL PROTECTED] http://www.overbyte.be - Original

Re: [twsocket] Fw: Sync THttpConnection derivative

2005-10-10 Thread Fastream Technologies
Hello and thanks for your replies, I now have the following code that do not raise any exception: In the connection class derived from TWebConnection: Pause(); int iMode = 0; WSocket_ioctlsocket(HSocket, FIONBIO, iMode);

Re: [twsocket] Fw: Sync THttpConnection derivative

2005-10-11 Thread Fastream Technologies
+V within Delphi (Probably the same with BCB). -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org

Re: [twsocket] Fw: Sync THttpConnection derivative

2005-10-11 Thread Fastream Technologies
- Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, October 11, 2005 9:13 AM Subject: Re: [twsocket] Fw: Sync THttpConnection derivative Debugger, just like the MessageBox showed correct values! However the socket

Re: [twsocket] Fw: Sync THttpConnection derivative

2005-10-11 Thread Fastream Technologies
THttpConnection derivative The problem maybe in kernel32 because you pass an invalid argument value to an API function. Try to find what kernel32 function is called and from where in your program. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Fastream

Re: [twsocket] Fw: Sync THttpConnection derivative

2005-10-11 Thread Fastream Technologies
product. I use it in almost all my applications. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, October 11, 2005 4:10 PM Subject: Re: [twsocket] Fw: Sync

Re: [twsocket] Fw: Sync THttpConnection derivative

2005-10-14 Thread Fastream Technologies
: Sync THttpConnection derivative Sounds like a race condition. Stepping through the code slows the debugged thread and stops it occurring. Dan - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, October

Re: [twsocket] finding a local domain

2005-10-15 Thread Fastream Technologies
Hello, I think you can implement a UDP-broadcast based protocol for finding neighboring machines inside your LAN. If a machine responds to a broadcast packet, then it is alive and present. Best Regards, SZ - Original Message - From: Wilfried Mestdagh [EMAIL PROTECTED] To: ICS support

Re: [twsocket] finding a local domain

2005-10-15 Thread Fastream Technologies
, if there is no local DNS server? --- Rgds, Wilfried http://www.mestdagh.biz Saturday, October 15, 2005, 11:54, Fastream Technologies wrote: Hello, I think you can implement a UDP-broadcast based protocol for finding neighboring machines inside your LAN. If a machine responds to a broadcast

[twsocket] OT: Open source model

2005-10-19 Thread Fastream Technologies
Hello Francois, I wonder how your open-source business model is going? I mean financially is it satisfying? If I can convince me and my partner, we may consider releasing the source code of our web/ftp server as well (http://www.fastream.com/netfileserver.htm), that's why I am asking. Best

Re: [twsocket] OT: Open source model

2005-10-20 Thread Fastream Technologies
Yes that's what I perceive Francois has been doing. That's why I asked here. Thanks, SubZ - Original Message - From: Dod [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, October 20, 2005 11:09 AM Subject: Re: [twsocket] OT: Open source model May be if

Re: [twsocket] MaxLength of ReceiveStr

2005-10-20 Thread Fastream Technologies
Hello, AFAIK, it is limited with packet length. Have a nice evening, SZ - Original Message - From: Andreas Patock [EMAIL PROTECTED] To: twsocket@elists.org Sent: Thursday, October 20, 2005 6:16 PM Subject: [twsocket] MaxLength of ReceiveStr Hi, can someone tell me, how long the

[twsocket] Making TFtpServer MT: the proper way

2005-10-24 Thread Fastream Technologies
Hello, I want to make our async FTP server, one thread-per CPU MT design. We assign threads to instances in OnClientConnect, and I have the following code: void __fastcall ftpServerThread::FtpServerClientConnect( TObject *Sender, TFtpCtrlSocket *Client, WORD AError) {

Re: [twsocket] Making TFtpServer MT: the proper way

2005-10-24 Thread Fastream Technologies
IOW, what is the proper way to assign a worker thread to a Ftp Client instance? Best Regards, SZ - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, October 24, 2005 11:13 AM Subject: [twsocket] Making TFtpServer

Re: [twsocket] Making TFtpServer MT: the proper way

2005-10-24 Thread Fastream Technologies
I think I found out. I used the OnClientConnected to attachthread and OnClientDisconnected. Seems working now. Thanks anyway, SZ - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, October 24, 2005 11:55 AM

Re: [twsocket] C++ Builder - bcbie60 problem

2005-10-26 Thread Fastream Technologies
Hello Ian, Yes I have faced this problem before. Not exactly remembering how did I passed it but creating a fresh package would help (IMO). Best Regards, SubZ - Original Message - From: Ian Tuck [EMAIL PROTECTED] To: twsocket@elists.org Sent: Wednesday, October 26, 2005 6:16 PM

Re: [twsocket] [HELP] Question about starting THttpServer and TFtpServer

2005-11-09 Thread Fastream Technologies
Hello Guillaume, They start the server immediately however the server needs a message pump to work. Best Regards, SubZ - Original Message - From: Guillaume MAISON [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, November 09, 2005 5:25 PM Subject:

Re: [twsocket] HTTP compression

2005-11-21 Thread Fastream Technologies
- Original Message - From: Francois Piette [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, November 21, 2005 9:42 AM Subject: Re: [twsocket] HTTP compression I don't know the FTP component, maybe what I proposed can be modified to share some code for

Re: [twsocket] HTTP compression

2005-11-21 Thread Fastream Technologies
- Original Message - From: Maurizio Lotauro [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, November 21, 2005 5:14 PM Subject: Re: [twsocket] HTTP compression Scrive Fastream Technologies [EMAIL PROTECTED]: - Original Message - From: Francois

Re: [twsocket] HTTP compression

2005-11-21 Thread Fastream Technologies
Restarting is done in terms of offsets of uncompressed file. For example: Let's assume deflate compresses file A by 50%. The file is 100Bytes. And the packet size is 1 bytes. After 25 packets which is 50 bytes, transfer is aborted by client. Then when he returns back, he sends the command:

Re: [twsocket] HTTP compression

2005-11-22 Thread Fastream Technologies
- Original Message - From: Maurizio Lotauro [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, November 22, 2005 6:15 PM Subject: Re: [twsocket] HTTP compression Scrive Fastream Technologies [EMAIL PROTECTED]: [...] The server then starts compression

[twsocket] Best approach for HTTP load-balaner

2005-11-29 Thread Fastream Technologies
Hello, We are trying to write a load-balancer similar to our NFServer and I am at the stage of designing the communication layer. Basically what it will do: 1) read request 2) locate the correct target server based on URL/domain of request and capacity/ping/maxConnections of servers 3) forward

[twsocket] Problem with THttpCli

2005-11-30 Thread Fastream Technologies
Hello, I chose the second method (THttpCli) but the below code fails in a thread: HTTPClient = new THttpCli(NULL); HTTPClient-MultiThreaded = true; HTTPClient-FollowRelocation = false; HTTPClient-NoCache = false; HTTPClient-RcvdStream = NULL;

Re: [twsocket] Problem with THttpCli

2005-12-01 Thread Fastream Technologies
mailing twsocket@elists.org Sent: Wednesday, November 30, 2005 7:28 PM Subject: Re: [twsocket] Problem with THttpCli Fastream Technologies wrote: Any help would be appreciated. I am using the November (downloaded today) beta of ICS with -yet- no SSL. Hard to say, however I guess it is a multi

Re: [twsocket] Problem with THttpCli

2005-12-01 Thread Fastream Technologies
ESocketException ? What is the error ? --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Wednesday, November 30, 2005, 15:21, Fastream Technologies wrote: Hello, I chose the second method (THttpCli) but the below code fails in a thread

Re: [twsocket] Problem with THttpCli

2005-12-01 Thread Fastream Technologies
. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Thursday, December 1, 2005, 18:50, Fastream Technologies wrote: THttpCli(SenderLastError reads 0 in OnSocketError. What is unusual about my code is that I do not use a stream nor

Re: [twsocket] Problem with THttpCli

2005-12-02 Thread Fastream Technologies
The threading design is the same as NFServer and tested well. The problem is in THttpCli: I want to download with no files on local computer to be written to and no TStream as well. Could you try that? Just assign nil to FRcvsStream and give a dummy filename in a non-existing directory. I would

Re: [twsocket] Problem with THttpCli

2005-12-02 Thread Fastream Technologies
: Friday, December 02, 2005 12:59 PM Subject: Re: [twsocket] Problem with THttpCli Fastream Technologies wrote: The threading design is the same as NFServer and tested well. The problem is in THttpCli: I want to download with no files on local computer to be written to and no TStream as well

[twsocket] Elists.org

2005-12-03 Thread Fastream Technologies
Hello, Sorry to read that elists.org is going to shut down unless someone takes the burden to host it. Maybe we should switch to Yahoo groups? Regards, SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our

[twsocket] Chunked encoding with THttpCli

2005-12-03 Thread Fastream Technologies
Hello, Does THttpCli support chunked encoding? If so, how do we indicate we can accept it from server? Best Regards, SubZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] Chunked encoding with THttpCli

2005-12-03 Thread Fastream Technologies
Hi, Chunked is a transfer-encoding not content. It means there is no content-length in the response header and the client simply gets the (size of) each packet separately and then cuts the connection when the server tells so. Francois, any idea? Chunked encoding is a *must* for http/1.1

Re: [twsocket] Chunked encoding with THttpCli

2005-12-03 Thread Fastream Technologies
SEE MY MESSAGE PRIOR TO YOURS. SZ - Original Message - From: Angus Robertson - Magenta Systems Ltd [EMAIL PROTECTED] To: twsocket@elists.org Sent: Saturday, December 03, 2005 6:27 PM Subject: Re: [twsocket] Chunked encoding with THttpCli Chunked is a transfer-encoding not content. It

Re: [twsocket] Strange

2005-12-06 Thread Fastream Technologies
Hi, Is there a proxy setting on the second PC? That's what my problem was once. Regards, SZ - Original Message - From: Ionut Muntean [EMAIL PROTECTED] To: twsocket@elists.org Sent: Tuesday, December 06, 2005 3:31 PM Subject: [twsocket] Strange Hi, I'm experiencing a strange

[twsocket] ICS sockets on XP Home

2005-12-06 Thread Fastream Technologies
Hello, Recently, my Athlon64 -literally speaking- burned and I am stuck on my WinXP Home notebook. Anyway, thanks to Intel Centrino and its 2MB cache this is fast enough... Anyway this is OT. In my XP Pro, I was able to have 600 connections to ICS web server with Socrates but with

Re: [twsocket] Strange

2005-12-06 Thread Fastream Technologies
Why don't you first try socketspy from usermade page? It should compile on Kylix, right Francois? Regards, SubZ - Original Message - From: Ionut Muntean [EMAIL PROTECTED] To: 'ICS support mailing' twsocket@elists.org Sent: Tuesday, December 06, 2005 6:30 PM Subject: Re: [twsocket]

Re: [twsocket] Sending a file with HTTPSERVER as response

2005-12-07 Thread Fastream Technologies
Here is what I do. After I receive the file with OnPostedData, I manually call SendDocument within the same event. You need to check for socket errors and content-length (FRequestContentLength). If you need more examples, let me know if you can read C++. Best Regards, SZ - Original

Re: [twsocket] Sending a file with HTTPSERVER as response

2005-12-07 Thread Fastream Technologies
I think to achieve your goal, you may need something like: String contentLength = Content-Length: + String(Body.Length()) + \r\n; String Header(FVersion + 500 Server Error\r\n + contentLength + Content-Type:

Re: [twsocket] Sending a file with HTTPSERVER as response

2005-12-07 Thread Fastream Technologies
OOPS! You need to write: Content-Length: + DocumentToContentType(FDocument) + \r\n SZ - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, December 07, 2005 5:39 PM Subject: Re: [twsocket] Sending a file

Re: [twsocket] File download

2005-12-08 Thread Fastream Technologies
You need to parse the header on OnHeaderEnd. First store it in a class variable in OnHeaderData. Notice that this event is called each time a header line comes. Regards, SZ - Original Message - From: Me [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday,

Re: [twsocket] File download

2005-12-08 Thread Fastream Technologies
events there is no such a variable as Data or Buffer or any... Searched the google but found nothing... how do i get header data into stream/string so i could parse it? Wiadomość Oryginalna Od: Fastream Technologies [EMAIL PROTECTED] Do: ICS support mailing twsocket@elists.org Data: Thu, 8

Re: [twsocket] File download

2005-12-09 Thread Fastream Technologies
Sent: Friday, December 09, 2005 9:51 AM Subject: Re: [twsocket] File download This one is always empty :( Wiadomość Oryginalna Od: Fastream Technologies [EMAIL PROTECTED] Do: ICS support mailing twsocket@elists.org Data: Fri, 9 Dec 2005 09:25:18 +0200 Temat: Re: [twsocket] File download

Re: [twsocket] File download

2005-12-09 Thread Fastream Technologies
worked with .txt or .html file... any further help? Wiadomość Oryginalna Od: Fastream Technologies [EMAIL PROTECTED] Do: ICS support mailing twsocket@elists.org Data: Fri, 9 Dec 2005 11:21:12 +0200 Temat: Re: [twsocket] File download Sorry that was for response header. Here is the code I use

Re: [twsocket] (beer) and cookies for all !!!

2005-12-09 Thread Fastream Technologies
Haven't you seen my previous message? What is the thing you did not get working? Regards, SZ - Original Message - From: Me [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, December 09, 2005 6:19 PM Subject: [twsocket] (beer) and cookies for all !!! Please

Re: [twsocket] WPAD protocol

2005-12-10 Thread Fastream Technologies
Hello, I saw some code called ProxyInfo on the Usermade page. Could that be related? Best Regards, SZ - Original Message - From: Paul [EMAIL PROTECTED] To: twsocket@elists.org Sent: Saturday, December 10, 2005 8:13 PM Subject: [twsocket] WPAD protocol Hi all, does anyone have

Re: [twsocket] WPAD protocol

2005-12-10 Thread Fastream Technologies
, it's a Java script. It allows retreiving the proxyname and port, even if there is no browser installed. IE does the same when it is installed for the first time. Paul - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket

Re: [twsocket] Feature: single WindowHandle/thread

2005-12-14 Thread Fastream Technologies
to really finalize it yet. Great! Looking forward to that! :)) -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket

Re: [twsocket] FTPClient ASCII or Binary ?

2005-12-15 Thread Fastream Technologies
Hi, Try removing the if not (FTPClient1.Binary) then line. It could already be binary in the component but the typeset command may not have been issued before. Regards, SZ - Original Message - From: David Rose [EMAIL PROTECTED] To: twsocket@elists.org Sent: Friday, December 16,

[twsocket] Bug in SSL binary web server demos

2005-12-16 Thread Fastream Technologies
Hello, Just try this: open the HTTP server in a used port. Then stop the server and the program would not let you change the port number and restart. Best Regards, SubZ -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] Bug in SSL binary web server demos

2005-12-16 Thread Fastream Technologies
@elists.org Sent: Friday, December 16, 2005 10:46 PM Subject: Re: [twsocket] Bug in SSL binary web server demos Fastream Technologies wrote: Hello, Just try this: open the HTTP server in a used port. Then stop the server and the program would not let you change the port number and restart. You

Re: [twsocket] socket programming tcp/udp primer question

2005-12-17 Thread Fastream Technologies
Unless you are using UDP and instead using TCP, you do not need to worry about fragmentation: MS TCP layer would handle it and Winsock will just fill your buffer--the size you want. There is one exception: the last packet. You should check for connection termination and packet sizes of smaller

Re: [twsocket] HTTPCLI Close

2005-12-17 Thread Fastream Technologies
In my code, yes it does. Regards, SZ - Original Message - From: Me [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Saturday, December 17, 2005 2:17 PM Subject: [twsocket] HTTPCLI Close Hi What happens when THTTPCLI.close procedure is called? Does it always

Re: [twsocket] HTTPCLI Close

2005-12-17 Thread Fastream Technologies
: Re: [twsocket] HTTPCLI Close In your code? So do I have to implement something so it would be true? Wiadomość Oryginalna Od: Fastream Technologies [EMAIL PROTECTED] Do: ICS support mailing twsocket@elists.org Data: Sat, 17 Dec 2005 14:21:04 +0200 Temat: Re: [twsocket] HTTPCLI Close

Re: [twsocket] HTTPCLI GETASYNC and SLEEP?

2005-12-17 Thread Fastream Technologies
Why not use a timer and launch the second request on OnTimer? You would need to start the time (Enabled := true;) in OnSessionClosed. Regards, SZ - Original Message - From: Me [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Saturday, December 17, 2005 5:00 PM

Re: [twsocket] Web and Delphi

2005-12-19 Thread Fastream Technologies
But be aware that the web server demo is async and single threaded. I suggest you to contribute to the SSL effort and use the multi-threaded server (yes, even with SSL!). Best Regards, SZ - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing

Re: [twsocket] Any known bugs of THttpCli after the last beta?

2005-12-22 Thread Fastream Technologies
Hello, Thnak you for your answer but actually the client and the server is on the same XP home machine and there is firewall including the XP SP2 firewall. Nothing. I know dropping connections is normal after a while with the home os but it should not crash. Currently application terminates.!

Re: [twsocket] Any known bugs of THttpCli after the last beta?

2005-12-22 Thread Fastream Technologies
Hello Dod, I have 1GB RAM and here is my diagnosis: In my web server which responds from disk/memory and there is a single socket per client, NO problem occurs even though sockets run out with TIME_WAITs. Only connections dropped which is normal. However, with the load balancer which has two

Re: [twsocket] Any known bugs of THttpCli after the last beta?

2005-12-23 Thread Fastream Technologies
. If I use it, then MadExcept cannot catch ANYTHING! Any idea? Regards, SZ -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, December 22, 2005 7:57 PM

Re: [twsocket] Any known bugs of THttpCli after the last beta?

2005-12-23 Thread Fastream Technologies
break points and test as it happens after 1:30 mins of stress testing. Use MadExcept. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, December 22, 2005 7:57

Re: [twsocket] Cannot create a hidden windows for TWSocket

2005-12-23 Thread Fastream Technologies
Sometimes the code gives 10022 (Invalid handle). Do not know what's wrong. - Original Message - From: Francois Piette [EMAIL PROTECTED] To: twsocket@elists.org Sent: Friday, December 23, 2005 11:35 AM Subject: [twsocket] Cannot create a hidden windows for TWSocket Ok. The problem

Re: [twsocket] Any known bugs of THttpCli after the last beta?

2005-12-23 Thread Fastream Technologies
One last note: this happens with 8 connections/thread as well and with 16 stress tester socrates threads. Thank you in advance, SZ - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, December 23, 2005 10:22 AM

Re: [twsocket] Cannot create a hidden windows for TWSocket

2005-12-23 Thread Fastream Technologies
Hello, - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, December 23, 2005 2:22 PM Subject: Re: [twsocket] Cannot create a hidden windows for TWSocket Fastream Technologies wrote: Sometimes the code gives 10022

Re: [twsocket] Cannot create a hidden windows for TWSocket

2005-12-23 Thread Fastream Technologies
Hello, - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, December 23, 2005 5:16 PM Subject: Re: [twsocket] Cannot create a hidden windows for TWSocket Fastream Technologies wrote: I have no file pointers. Also in my

Re: [twsocket] Cannot create a hidden windows for TWSocket

2005-12-23 Thread Fastream Technologies
- window destruction. Warmest Regards, :) SZ - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, December 23, 2005 6:31 PM Subject: Re: [twsocket] Cannot create a hidden windows for TWSocket The error occurs when

Re: [twsocket] Cannot create a hidden windows for TWSocket

2005-12-23 Thread Fastream Technologies
@elists.org Sent: Friday, December 23, 2005 7:50 PM Subject: Re: [twsocket] Cannot create a hidden windows for TWSocket Fastream Technologies wrote: The error occurs when the client is disconnected. The problematic message ID is 1025. Here is the non-ICS code: void __fastcall httpServerClientClass

[twsocket] Very strange listening socket problem

2005-12-24 Thread Fastream Technologies
Hello, Suddenly my FTP server stopped accepting connections. The DOS ftp says (in Turkish) connected and in ActivePorts/netstat I see that the connection is established but the breakpoint in TWSocketServer ConnectionAvailable is not triggered. There is a message pump and it is functioning for

[twsocket] Two ICS HTTP code against each other and 10048 error

2005-12-25 Thread Fastream Technologies
Hello, When I run my ICS load balancer against Apache with Socrates, everything is fine. When I run Socrates directly against my ICS web server, still fine. But when I use: Socrates --- ICS load balancer --- ICS web server I get the following in every 600-700 connections: WSAEADDRINUSE

Re: [twsocket] Very strange listening socket problem

2005-12-26 Thread Fastream Technologies
Sorry, was a stupid bug of mine. I forgot a ; in a message handler... ;(( - Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Saturday, December 24, 2005 6:16 PM Subject: [twsocket] Very strange listening socket problem

Re: [twsocket] About Windows TCP tuning for hudge ICS projects

2005-12-26 Thread Fastream Technologies
This is a fact stated by Francois that confirms the need for our proposal of making ICS one-handle-per-thread. Best Regards, SubZero - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, December 26, 2005 1:21 PM

Re: [twsocket] Two ICS HTTP code against each other and 10048 error

2005-12-26 Thread Fastream Technologies
- Original Message - From: Fastream Technologies [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Sunday, December 25, 2005 6:47 PM Subject: [twsocket] Two ICS HTTP code against each other and 10048 error Hello, When I run my ICS load balancer against Apache

Re: [twsocket] Two ICS HTTP code against each other and 10048 error

2005-12-26 Thread Fastream Technologies
which one I should be looking for? Why is there thousands of listening sockets ? Are you opening so much sockets ? If you don't know, that may be you have a bug. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Fastream Technologies [EMAIL PROTECTED

Re: [twsocket] Two ICS HTTP code against each other and 10048 error

2005-12-27 Thread Fastream Technologies
- Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, December 27, 2005 11:02 AM Subject: Re: [twsocket] Two ICS HTTP code against each other and 10048 error The error does not occur when launching the two listening

  1   2   3   4   5   6   7   8   9   10   >