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

2005-04-14 Thread Bjørnar Nielsen
 

 The only shortcoming of ICS is the web server which has no official and/or
optimized CGI/ISAPI
 component and by design async which is bad for a web server. 

SZ, why do you think async design is bad for a webserver?

Regards Bjørnar



--
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] 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 Nielsen [EMAIL PROTECTED]
To: 'ICS support mailing' twsocket@elists.org
Sent: Thursday, April 14, 2005 10:38 AM
Subject: RE: [twsocket] Is there a way to download a file in threads?



The only shortcoming of ICS is the web server which has no official and/or
optimized CGI/ISAPI
component and by design async which is bad for a web server.
SZ, why do you think async design is bad for a webserver?
Regards Bjrnar

--
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 

--
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] Is there a way to download a file in threads?

2005-04-14 Thread Primož Gabrijelčič
 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.

You are mixing up two factors.

Even on multi-processor system, one CPU is usually enough to handle
connections.  That doesn't prevent you from creating additional threads to
process CGI and ISAPI requests - nobody says that such requests must execute
in the context of the thread handling socket connections.

One of my commercial designs is using this approach and it is working just
great.

Best regards,
Primoz


-- 
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


[twsocket] New release: minor bug fix, new sample

2005-04-14 Thread Francois PIETTE
A new ICS version is available.
A small bug has been fixed in the HTTP client component that affected
authentication with iPlanet Web Proxy Server (found by Mr Bloms and
Tomachinsky).
A new console mode sample: ConUdpLstn. It is the GUI sample UdpLstn ported
to console. It make use on the TConApplication object that is now included
in ICS and many of you haven't probably noticed. It is worth looking at this
object: it allows you to easily build an event driven console mode
application.

--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
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: Re[4]: [twsocket] NOFORMS and TWSocketServer

2005-04-14 Thread Marco van de Voort
  Only used. I even deleted all ICS dcu files.
 
 I created a new console mode application (D7), added NOFORMS in the project
 defines.
 Compilation gives a filesize: 39.424 Bytes.
 Added WSocket to the uses clause: 91.136 Bytes.
 Added WSocketS to the uses clause:  91.648 Bytes.
 Removed NOFORMS from the defines: 427.008 Bytes.
 
 Options are for debugging: no optimization, range checking enabled, I/O
 checking enabled, Overflow checking enabled, debug information enabled.
 
 My conclusion is that NOFORMS works very well, including with
 TWSocketServer.

From Mail from me to Francois dd 24 aug 2004 (so the fix point is post that
date):

.
wsocketS imports unit controls without using it (or is it for the USE_SSL?)
anyway, it should be under IFDEF NOFORMS or USE_SSL or both.
...

So simply putting controls under no_forms would probably fix it in an older
version, should sb need it.

-- 
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