Hello!
> Not exacly. OnDataSent is fired when TWSocket has empty his buffer. But
> you are right about when it is emptied between the calls, but of course
> only when messages are processed.
So if Winsock buffer is NOT emptied, but TWSocket is, the event is fired
anyway?
--
Piotr "Hellrayzer"
Hello!
> Wilfried Mestdagh wrote:
>> Hello,
>>
>> Someonw wrote already an IMAP component with TWSocket and make it free
>> source available ?
> I recall a thread from last year where somebody posted his plans, however
> never heard something about that project again :(.
> If you are planning to
Hello!
> Francois PIETTE wrote:
>>> I just wonder how other programs can provide a
>>> user defined TCP timeout that appears to overrule the system setting or
>>> is something like that just a fake?
>>
>> I've searched on MSDN and found that setsockopt has those options:
>> SO_RCVTIMEO Receives t
Hi!
Okay, this is discussed few times a year, and probably FAQ got something
about, but..
The problem is simple. I didn't realized that when user has slow CPU and
fast LAN[1], my HCM can't handle that well - looks like hung, and downloads
slower than it's possible. I won't overcome the downloadin
Hello!
>> Is there *any* way to slow down
>> ICS, so message queue overflow won't occur so often?
> Unless you use UDP or wsoSIO_RCVALL option, there is no reason to have a
> message queue overflow.
> Using TCP, if you don't read data as fast as the sender is able to send,
> the protocol is desig
Hello!
>> so message queue overflow won't occur so often?
> What exacly flows over ? I mean, on what do you see this ?
Application gets unresponsive. Simply refuses to react for mouse clicks,
keypresses, anything except network operations.
On my home P120 it shows up, when I download many 1-5kB
Hello!
> Do I need the MIME-Version, Content-Type and Content-Transfer-Encoding
> also or can it be left out ? There will be only plain text and never an
> attach.
AFAIR if you won't put them in header, the default values should be
assumed (respectively: 1.0, text/plain; charset="US-ASCII", 7bit)
Hello!
> Hello Piotr,
>> If you're using US-ASCII, consider using Content-Transfer-Encoding: 7bit.
> Yes at the moment. But later there will be mails with French and maybe
> German characters in it. So I assume I need the:
>'Content-Transfer-Encoding: quoted-printable'
> Am I right
Hi!
In TCustomSocksWSocket.Connect:
procedure TCustomSocksWSocket.Connect;
begin
[..]
if LowerCase(FProtoStr) <> 'tcp' then begin
RaiseException('tcp is the only protocol supported thru socks server');
Exit;
end;
[..]
Let's say that someone has entered 6 in place of TCP
Hi!
I just wonder - why we have to use exceptions and exception handling so
often? I mean, why exceptions, not function results? For example:
procedure TNntpCli.List(DestStream : TStream);
begin
if FState <> nntpReady then
raise NntpException.Create('Not ready for LIST');
FDataS
Hi!
There's possible optimization. Since all MIME boundaries start with
"--" (=$2D2D), we could check whether FCurrentData points to two dashes
instead of copying whole data line, switching to lowercase and then
comparing:
procedure TMimeDecode.ProcessWaitBoundary; { ##ERIC }
var
t : In
Hi!
TMimeDec does NOT ignore MIME preamble and epilogue, so it fails to decode
correctly complex multipart message from RFC 2049 Appendix A. Specifically,
when it sees ending boundary ("--boundary--") it starts another part.
Disabling preamble parsing as text/plain is very simple, just have to
ch
Hello!
> Piotr,
> Can you provide an enhanced unit with your fixes ?
> Remember that the fixes should not break existing code !
I'm on vacation right now, and that's why I respond so slowly. I'll apply
my fixes in the meantime, and send complete unit to you.
Thanks for your patience. :)
--
P
Hello!
>> Piotr "Hellrayzer" Dalek (Author of ICS-Based Hellcore Mailer - an
>> Outlook Express killer) made interesting changes to the mimedecode
>> component. It is work a beta test. So I made it available from the ICS
>> download page at my website.
> Sorry, does not work here, the second t
Hello!
>> Piotr "Hellrayzer" Dalek (Author of ICS-Based Hellcore Mailer - an
>> Outlook
>> Express killer) made soem interesting changes to the mimedecode
>> component.
>> It is work a beta test. So I made it available from the ICS download
>> page
>> at
>> my website.
> Forgot to tell about the
Hello!
>> Send me one (or all) of these messages (or better post them somewhere
>> and give me the url) and I'll check it out.
> Not a single MIME message in my mailbox decoded the last attachment
> correctly, I don't suppose the issue is very hard to reproduce. I'll
> relay the two examples
16 matches
Mail list logo