Re: [twsocket] Manual for the NNTP module ?

2005-09-24 Thread Perry Kappetein
I know how the RFC-977 works
I download the newsreader, and the only thing I am seeing is

 procedure   HeadByNumber(Number : Integer; DestStream : TStream); virtual;

Which is using

procedure TNntpCli.GetArticleByNumber(
RqType : TNntpRequest;
Number : Integer;
DestStream : TStream);
begin
if Number  0 then
GetArticle(RqType, ' ' + IntToStr(Number), DestStream)
else
GetArticle(RqType, '', DestStream);
end;



So I can only use 1 number, and not like   2132 - 5000  for example.
So, do I need to make a loop all manually?


 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Francois PIETTE
 Sent: Saturday, September 24, 2005 2:16 AM
 To: ICS support mailing
 Subject: Re: [twsocket] Manual for the NNTP module ?
 
  Is there any manual/help for the NNTP module?
 
 If you want to know how NNTP protocol works, read RFC-977.
 If you want to know how NNTP component work, have a look at 
 the source code for both the component and the demo application.
 
 
 Contribute to the SSL Effort. Visit 
 http://www.overbyte.be/eng/ssl.html
 --
 [EMAIL PROTECTED]
 The author for 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://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] Manual for the NNTP module ?

2005-09-24 Thread Francois PIETTE
 So I can only use 1 number, and not like   2132 - 5000  for example.
 So, do I need to make a loop all manually?

Yes, you have.

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


- Original Message - 
From: Perry Kappetein [EMAIL PROTECTED]
To: 'ICS support mailing' twsocket@elists.org
Sent: Saturday, September 24, 2005 12:58 PM
Subject: Re: [twsocket] Manual for the NNTP module ?


I know how the RFC-977 works
 I download the newsreader, and the only thing I am seeing is

 procedure   HeadByNumber(Number : Integer; DestStream : TStream); virtual;

 Which is using

 procedure TNntpCli.GetArticleByNumber(
RqType : TNntpRequest;
Number : Integer;
DestStream : TStream);
 begin
if Number  0 then
GetArticle(RqType, ' ' + IntToStr(Number), DestStream)
else
GetArticle(RqType, '', DestStream);
 end;



 So I can only use 1 number, and not like   2132 - 5000  for example.
 So, do I need to make a loop all manually?




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Francois PIETTE
 Sent: Saturday, September 24, 2005 2:16 AM
 To: ICS support mailing
 Subject: Re: [twsocket] Manual for the NNTP module ?

  Is there any manual/help for the NNTP module?

 If you want to know how NNTP protocol works, read RFC-977.
 If you want to know how NNTP component work, have a look at
 the source code for both the component and the demo application.


 Contribute to the SSL Effort. Visit
 http://www.overbyte.be/eng/ssl.html
 --
 [EMAIL PROTECTED]
 The author for 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://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 

-- 
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] gphttpproxy trouble

2005-09-24 Thread Wilfried Mestdagh
Hello Sebastien,

Clicking right or left in the browser has nothing to do with the proxy.
But I dont understeand, if you click right on an URL then there is no
navigation, but a popup menu ?

---
Rgds, Wilfried
http://www.mestdagh.biz

Thursday, September 22, 2005, 23:36, Sebastien MAHIEUX wrote:

 Hello,

 I have downloaded few days ago, the gphttpproxy 2.0 with the demo included.
 The program works with Internet Explorer 6.0.

 However, when i launch a search in google and right click on a find
 result, I have a HTTP 404 Not Found. If I try a left click on the same
 result, there is no problem.

 Have you already found this problem before ?

 Sebastien

-- 
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] [TMimeDec] Beta version to test

2005-09-24 Thread Piotr Dałek
Hello!

 However, I have a question. Decoding attachments seems to take a long
 time.
 Decoding a base64-encoded attachment of 10 MB takes 17 sec.

On which machine? (cpu, mainboard, amount of free RAM, operating system...)
If it's new/rather new machine, such result is far below expectations -
I get 20 sec on old P120 with 32MB RAM and Win95.

 Is there a way
 to make the decoding work faster? I have about the same testresult on the
 beta and the older version of MimeDec.

There's many ways to make it faster. First, do not use TMemoryStream as
decoded attachment storage *unless* you set it's size so TMemoryStream won't
need to reallocate his memory. Second, you should use larger input buffer
(not that 4kbyte one), or change decoding logic so you could use memory-
mapped file. Third, do not use OnPartLine to store data - set DestStream
and leave OnPartLine unassigned (you'll save one jump into and out of
the handler, possibly dirtying less processor's L1/L2 cache).
Fourth, use TMemoryStream (or some kind of TBufferedWriteStream) as decoded
data storage (but remember about the first note above). 

Fifth - discard these fancy progressbars (and progressbar updating code) ;)

-- 
Piotr Hellrayzer Dalek
[EMAIL PROTECTED]

--
Sa niesamowite, zobaczysz... ;-)  link http://link.interia.pl/f18b9

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