Hello Jack,
> Do you mean I should check the ErrCode in the event handlers
No check for exceptions.
BGException is fired if exception comes from the middle of nowere, that
is the message pump. But many events are called from within the message
pump. This means if you have an exception in your co
Hi all,
there is a bug in SmtpProt.pas (latest ics version just downloaded),
function Rfc822DateTime, line 2892 and 2907, FormatDateTime function.
Result := FormatDateTime('ddd, d mmm hh:mm:ss', t) +
' ' + TimeZoneBias
The time separator : should be put between doub
If I want to have a http-server with support for very many connections and
high performance. My understanding is that this can be achieved by spreading
the connections to several threads. For example 200 connections in one
thread, 200 more in the next ect.
How can this be done?
One thread where w
Hello Bjørnar,
We do multi-threading by modifying WSocketS.pas and on top of it,
HttpSrv.pas. There is no easy way to do it otherwise. I remember I uploaded
my HTTPMTServer pascal code to http://www.fastream.com/ics sometime ago..
Basically what it does is to move the creation of TWSocket insta
First at all I must apologize about my english, it's not as good as it
should be.
I have a server developed using ICS which doesn't use threads. But now,
I have a new requirementes that I think will be requiring the use of
threads. For certain client inquiries I need to connect my server to
an
> My idea is that when this kind of request are received, I will select a
> free thread from a pool of working threads that perform the conection to
> the other server, and when the results arrives, Send() it to the client.
This will not require a thread. The connection, sending and receiving are