you want ? Are there any which email-testprogram can do ?
> (But not the messagelines because this content even the lines from
> the attached file.) Mvh Ilkka
You need to find out which command takes that long, use mailsnd demo
and the left group of buttons to check it out.
Upon which command (befo
Hello,
Since two or three days mails posted to elist.org take one
and a half hour until I receive them back. That's no fun :(
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or change your settings for TWSocket mailing list
please goto
to accept the client connection }
NewS := self.Accept;
if not assigned(asoc) then
begin
{ And then associate this connection with our client socket }
asoc :=TAnswerSocket.Create(callback, OnClose);
asoc.Dup(news);
end
else
WSocket_closesocket(NewS); // we are busy
en
ly as fast as
Outlook Express as well. So I think the problem is neither ICS
nor your mail-server but something else.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Ilkka Ericsson wrote:
> Hej !
> I let the messagememo write a loggfile. (I didn´t know hove t
Francois PIETTE wrote:
>> Since two or three days mails posted to elist.org take one
>> and a half hour until I receive them back. That's no fun :(
>
> No idea. I haven't noticed a particular slow down.
Would you please send me your headers of your reply to
my initial mail, because in my headers
cess at elist.org. The delay started with
30 minutes or so and grew to current 2 hours.
Is there anybody not having this problem?
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
> ---
> Rgds, Wilfried [TeamICS]
> http://www.overbyte.be/eng/overbyte/teamics.html
ith
your problem, it just sprang to my mind that there's a problem in
your code.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> Greetings
>
> Markus
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.eli
worthy, subject
"EBay API SOAP Calls (SSL)" was sent on
7 Nov 2006 15:00:56 -0800 received here 09 Nov 2006 07:42:57 -.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http
ponents:
HTTP c/s, FTP c/s, SMTP c, NNTP c, and of course
TSslTWsocket.
http://www.overbyte.be/eng/ssl.html.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
> web service calls by
> creating your own SOAP XML?
>
> I saw an ICS example was available f
not read any data back.
If that happens in TWSocket's OnDataAvailable event it means that
the connection was closed, just ignore it, OnSessionClosed will
be triggered later on.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
> Because OnDataReceived() keep
Arno Garrels wrote:
> Jack wrote:
>> Hello all,
>>
>> I have a TCP socket client. In some cases, OnDataReceived()
>
> There's no such event in ICS named OnDataReceived.
>
>> gets fired for multiple times with ErrCode = 0, but when I call
>>
make a post connection check
which was able to uncover man in the middle attacks.
ICS-SSL is well supported in the [EMAIL PROTECTED] mailing list.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or change your settings for TWSocket mailing list
pleas
d not send RST ACK, but ACK.
>
> Here my application has seen a client connection and disconnection.
Sounds reasonable, I guess that the problem is on the client side.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or change your settings for
ilable
> when Receive returns <= 0.
That's very true!
Jack reported a freeze, so it might have been usefull to know
the Winsock error number, eventhough not any error is a real error :-)
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or c
ers in order to keep the line length
within the range of maximum suggested length, that is only 75 characters.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Jody Bowman wrote:
> Greetings,
>
> I'm an engineer from the Milwaukee, Wis
k to break existing code.
I think so, given that TMimeDec handles folded header lines as well,
but AFAIR that is supported since many years, right?
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
> --
> Contribute to the SSL Effort. Visit
> http://www.overbyte
s to close the connection, so if
a server doesn't close the connection on receiving command QUIT
the server is buggy. You can handle those server-side bugs with a simple
command timeout, in real applications some a timeout mechanism is required
anyway.
Arno Garrels
> TO:
>
> pr
nly when the client needs to carry out
lengthy jobs like executing a SQL query or calculating a MD5 checksum
on a big, uploaded file.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> Unfortunately THttpServer doesn't include a "MultiThreaded"
a built-in, dynamic send buffer, that's why calling
TWSocket.Send always succeeds, real sending is done in the background.
The component handles winsock buffer overflows (WSAEWOULDBLOCK)internaly.
Use event OnDataSent to control the flow, and to avoid grow of TWSocket's
send buffer.
-
lso, for streaming real time data there are special protocols available:
RTP (RFC 1889) and RTCP (RFC 1890). They are used for instance in VOIP/SIP.
May be interesting?
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or change your settings for TWSoc
Clay Shannon wrote:
>>
>> "ESocketException - Error 10048 in function Bind Address already in
>> use."
Another socket is already listening on the same IP and port.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe
t to put that in, but I can live happily w/o such a
feature.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
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
t <= 0) then
GWndHandlerPool.FreeWndHandler(FWndHandler);
FHandle := 0;
FWndHandler := nil;
FThreadID := 0;
finally
GWndHandlerPool.UnLock;
end;
end;
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or change your settin
epends on the proxy.
>
> and: what information do I need to be able to use all three
> options depending on availability? (user selects which to use)
BTW: It is not possible to detect whether a connection to the internet
exists. The user needs to tell you the connection type,
mappings are not available in services by default, it may work if
the service runs as currently, interactively logged on user (not 100% sure).
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or change your settings for TWSocket mailing list
ple
earch for property SocketRcvBufSize.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
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
this worked fine in the past, but I have not tested Socks with SSL since
a long time, so changes in the SSL code since that time may have broken it,
if you say that Socks with SSL doesn't work in current versions I will
reactivate my Socks5 box tomorrow to run a test again.
---
Arno Garre
happy }
> TBaseParentWSocket = TCustomSslWSocket;
> {$ELSE}
> TBaseParentWSocket = TCustomSocksWSocket;
> {$ENDIF}
That's totally OK, TCustomSslWSocket is derived from TCustomSocksWSocket.
Don't you have the SSL code?
---
Arno Garrels [TeamICS]
http://www.overbyte
Hello Henrik,
Just tested with latest V5 beta, but works great?
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Henrik wrote:
> Hi!
>
> I have probably misunderstood something because I get the same
> behavior described below no matter which of th
buttons on the left,
Connect etc. instead)?
How is the CPU load when it freezes?
What is different with the two boxes, any Anti Virus software,
any personal firewall etc.?
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Henrik wrote:
> Hi Arno and thank You for
ncurrent connections easily, each transferring data at
the same time, since it uses non-blocking sockets.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Aleksey Potjomkin wrote:
>> Hello !
>>
>> Your components are really great. But i've faced
s (non-blocking)
nature of ICS read this first:
http://wiki.overbyte.be/wiki/index.php/Asynchronous_Paradigm
You may also have a look at the MailSndAsync demo of V5, it's SMTP but
the same principle applies to the FTP component.
If you have further questions, please post them her
after the other. Then I would search for strange
processes in the process list that do not exist on the other,
working boxes. That's at least worth a try.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Henrik wrote:
> Hello Wilfred!
>
> Yes, I get the sa
Clay Shannon wrote:
>> <> box.>>
>>
>> It sounds like you have a toilet hooked up to your computer.
Not very british I know, in other words, real-time protection software,
internet security suites or malicious software, anything like that.
---
Arno Garrels [TeamI
.FtpRequestDone(Sender: TObject;
RqType: TFtpRequest; ErrCode: Word);
begin
case RqType of
ftpOpenAsync : TFtpClient(Sender).UserAsync;
..
end;
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte
(dwErrorControl).
http://msdn.microsoft.com/library/en-us/dllproc/base/createservice.asp?frame=true
http://support.microsoft.com/?scid=kb%3Ben-us%3B102987&x=9&y=13
Have you tried a service-depency on RPCSS?
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
-
ould find the error condition.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
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
rwise you can only speculate :(
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
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
Forgot to mention that the XP box below has a Dual-Core
Intel CPU, that should by very close to Henrik's Dell box.
Arno Garrels wrote:
> Wilfried Mestdagh wrote:
>> Hello Henrik,
>>
>> this is frustrating :(
>
> Welcome to the club.
>
>> I can do a
Wilfried Mestdagh wrote:
> Could it be the loading of Winsock dll ?
That's obviously true, since it's the only effect I can imagine
that the secondary instance could have. Is Winsock still the origin
DLL, or has it been replaced by a Virus ;-) ?
---
Arno Garrels [
x27;s
categorized as simple spyware. But I also recall a virus that
installed its own (buggy) Winsock DLL.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mail
results in keeping a handle to Winsock DLL even though the
SMTP-Form is destroyed (same effect as having a second SmtpCli-instance
in main form).
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> // Henrik
>
>
> -Ursprungligt meddelande
Henrik wrote:
>
> Sorry if I get a bit aggravated. I really appreciate Your effort
> Arno, but
> external problems is not the way to go this time.
No problem, I just wanted to point onto that possibility.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/
n-foolproved component.
Arno Garrels
--
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
linked to a process with ProcessExplorer:
http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx
It also may help to see a packet dump logged with Ethereal.
>> winsock while ICS uses the non blocking calls.
> Is this also true with SyncSmtpCli?
Yes.
---
ng on host named proxyserver.
FtpCli1.HostName := 'proxyserver';
FtpCli1.UserName := '[EMAIL PROTECTED]';
FtpCli1.Password := '[EMAIL PROTECTED]';
FtpCli1.Passive := TRUE;
==
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
ture and
run the ICS test app. unless the error happens, close the test app.,
the stop the capture and save the log as Ethereal/tcpdump(*.cap,*.pcap),
file format libpcap to a file, upload the log somewhere and post the link
here.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.h
TW: Interesting sample:
http://www.codeproject.com/internet/DnsHijack.asp
Also upload your wxvault.dll for a online check to
http://www.virustotal.com/flash/index_en.html
and
http://www.avira.com/en/support/verdachtige_dateien_und_sonstige_uploads.html
---
Arno Garrels [TeamICS]
http://www.overbyte.
gt;
> Ethereal:
> I only get packages sent the first time. The second time the
> application
> hangs before anything has been sent...
>
> Best Regards
> Henrik
>
> -Ursprungligt meddelande-----
> Från: [EMAIL PROTECTED] [mailto:twsocket-
> [EMAIL PROTECTE
- Original Message -
From: "Äèìà Èãàåâ" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 21, 2006 4:33 PM
Subject: TFtpCli
> Dear, Arno Garrels.
> I need to install a component TFtpCli to handle with FTP via C++ Builder 6.
> While
ncQuotedPrintable message text is always encoded.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
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
) garanties
what you want.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> And this is done by setting the following properties?
> SmtpCli1.Allow8bitChars := false; (if I want the _subject_ encoded)
> SmtpCli1.DefaultEncoding := smtpEncQuotedPrint
cated, especially
when headers contain e-mail addresses like TO, FROM etc.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> If you have a GUI-component that can handle WideStrings, then you can
> have
> any language in the subject using the above form
ries and meta-data within each encoded header. I suggest you
> search in Google for "smtp message header encoding" or something like
> that.
>
> dZ.
Hi dZ,
Headers are indeed encoded in latest versions. It's my own, rather old
work added to ICS in summer (or so). It w
well.
Please search and uninstall this buggy application so we
know the application name that does not work with ICS
(I'm rather sure it's Embassy Trust Suite).
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or change your setting
is a bug in Java? Yet still, shouldn't we be compatible with
> such a widely used language?
Wasn't Digest Auth your own contribution?
In order to find out who is buggy here the RFCs should give a hint.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
to make asynchronous events working.
That most likely applies to the Ping-component as well, however I'm
not quite sure since I've never been using this component.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
>
> ProgMaster
>
>
&g
pump.
I already guessed something similar, so probably running your component
in multiple threads isn't required since it already creates worker threads
as necessary, right?
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or change your
Hello SZ,
It compiles fine here, however I'm using the version before
support for HTTP-proxy was added to TWSocket. Have you added
OverbyteIcsWinsock2.pas to your custom package?
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Fastream Technologies
sed a package file attached. You must have a mixed codebase,
or files are missing in your package? It's your homework to find the problem,
compare with current download, use the SSL package/project file attached.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
the sync commands rather than advancing to the next command in
>>> OnRequestDone - am I right here?
>>
>> Yes, that's right, you can just run one command after the other,
>> possibly with appropriate error checking as well.
There's no need to use sync mod
ing current beta downloads either V5 or V6?
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
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
rrect way to abort a failing SMTP
> transmission.
What do you mean by "failing SMTP transmission"?
Most error responses from a mail server should/can be handled
diffently.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
> Michael
>
>
> Arno Garre
Dod wrote:
> Hello bevan,
>
> Is it text file or binary file ?
>
> If text file be sure to set binary mode,
In SMTP??
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
if not all #13#10 may be
> converted into #10 if destination is U
?
In order transfer data in binary mode you must set property BinaryMode
to TRUE as well as call the TypeSet command to send the transfer type
to the server. Same when switching back to ascii except property
BinaryMode must be set to FALSE before.
---
Arno Garrels [TeamICS]
http://www.over
BTW: The mail server is responsible to close the connection after
he has sent out the OK-reply to the Quit request, however it should
not hurt when a client closes the connection after receiving the
Quit-response.
BTW-2: Do not forget to implement your own timeout mechanism.
---
Arno Garrels [TeamICS]
ht
ile executing the mailing. So in the ButtonClick handler
there the call to start the mailing should be the very last line.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Kochendoerfer, Michael wrote:
> You all are giving excellent information in this mailing
d, it will the call setsockopt()
internally. I think that 1 MB is much too big, since this memory is
allocated from kernel memory which is not an endless resource.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
What is your opinion about
> that?
>
> /
Arno Garrels wrote:
> Tobias Rapp wrote:
>
>> http://support.microsoft.com/default.aspx?scid=kb;en-us;823764
>
> By default winsock's send buffer size is 8 kb which is much bigger
> than TFtpCli's constant BLOCK_SIZE of 1460 bytes. So one condition
> described
Tobias Rapp wrote:
> Hello Arno,
>
>>> By default winsock's send buffer size is 8 kb which is much bigger
>>> than TFtpCli's constant BLOCK_SIZE of 1460 bytes. So one condition
>>> described in the article is not true since a single send call in
>>> TFtpCli does not fill the whole underlying winso
li.Connect;
end;
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Michael Kochendoerfer wrote:
> Arno and all,
>
> I realized and appreciated your hint to perform it all event-driven
> and I tried to accomplish it the way you suggested. However, I have
&
g for a response or while it's sending data will cause
OnRequestDone being triggered with an error code > 0, this was
AFAIR (10053) Software caused connection abort.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
> Michael
>
>> -Original
e.
Post your message from OnSessionClosed only if State = smtpReady, and
post your message from OnRequestDone if property Connected is False.
It's a long time ago since I've been working with SMTP so I'm not sure
if this will work reliable, it's untested.
---
Arno Garrels [T
ok
20.12.06 13:39:11 > DATA
20.12.06 13:39:11 < 354 Enter mail, end with "." on a line by itself
20.12.06 13:39:26 Session closed **Error 10054!
Mailbox full, data recognized as SPAM, virus detected?
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing lis
was hoping that you helped identifying the Embassy Trust Suite
clearly as the culprid.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Henrik wrote:
> Hi Arno and others!
>
> Some of the heavy work load I experienced a while ago has decreased a
> bit so I
You probably hit the wrong button.
Your mail is addressed to me privately.
Arno
Wilfried Mestdagh wrote:
> Hello Veit,
>
> Normally the components handles their own exception by design (as it
> should be). Be sure you have no exceptions in events. If there is a
> chance that your code can raise
Arno Garrels wrote:
> You probably hit the wrong button.
> Your mail is addressed to me privately.
Perfect chaos, sorry. Please ignore this mail.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> Arno
>
> Wilfried Mestdagh wrote:
>> Hel
correctly
thus causing errors when ICS loads winsock DLLs dynamically.
If you think that's just a joke I cannot help you, but please stop
claiming that ICS was buggy.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or change your settings for T
Ahh, thanks :)
BTW: Do you know the greatest hooking library available?
If not, take a look add MadCodeHook it's for Delphi, BCB
as well as C. GREAT COMPONENT from the autor of Madexcept.
Arno
Wilfried Mestdagh wrote:
> Hello Veit,
>
> Connect as whell as other methods can raise exceptions in
t
> prevents task manager from killing a process?? (He logs in with admin
> account on Windows 2000 Advanced Server SP4)
See above.
Download ProcessExplorer @
http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx
It kills everything ;-)
Check the threads in
y error report for this--it has
> an option for "freeze".
I've no idea, I'm using the great MadExcept, however it won't raise an
exception if some thread waits infinitely, that's something you need to
debug, in other words try to reproduce the problem.
---
Ar
Fastream Technologies wrote:
> The problem is when I try here on my Win XP/Vista's it does not occur.
> Something specific to client's server I guess.
Using threads can be very exiting ;-)
> Is there a way to see
> which line number did it got stuck without installing the compiler
> there?
Cur
blem then something related to the hang.
What happens when they try to stop the service from the service
control panel? If the service cannot be stopped probably the service
thread hangs.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> Best Regards,
>
>
pAuthAutoSelect" note
the missing "h".
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> If I comment out lines 407 & 408, it compiles and runs but then I get
> the following output in the memo:
>
> Resolving host nam
turn an
internal error so that the component should trigger SessionClosed.
Someone please correct me if that's wrong (never tested).
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> Best Regards,
>
> SZ
--
To unsubscribe or change your settings for
> handle.
>
> 65535 is it the maximum for upd datagram ? I think yes but just to be
> sure.
Winsock fragmentation will probably prevent receiving such large
packets in a single Receive-call, data will probably be fragmented
into MTU fragments (AFAIR?).
---
Arno Garrels [T
FHSocket := INVALID_SOCKET;
if iStatus <> 0 then begin
SocketError('Dup (closesocket)');
Exit;
end;
ChangeState(wsClosed);
end;
FHsocket := NewHSocket;
..
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.h
ient disconnects as
well as handle all possible exceptions inside the threads,
including component exceptions. It may help if you use a TThreadList
instead of current TList, at least it's easier to code thread-safe.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
te;
If you do this from multiple threads it may happen this:
if not Thread.Terminated then
// thread switch occures and another
// thread calls Terminate so
// Terminated is now TRUE!!
Thread.Terminate;
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/t
er way ?
I think it is OK, but propably you need to pause receiving when receiving
is much faster than decoding to prevent infinite grow of your buffers.
Also the message queue queues only a limited number of messages, if
it is full SendMessage()/PostMessage() will fail.
---
Arno Garrels [Tea
Arno Garrels wrote:
> Jonathan Dumaresq wrote:
>>> I would say before sending anything.
>>
>> good
>>
>> this is working now. thanx for your help everybody.
>>
>> I have another question. When I receive the data from the udp port, i
>> have
Wilfried Mestdagh wrote:
> Hello Arno,
>
>> propably you need to pause receiving when receiving
>> is much faster than decoding to prevent infinite grow of your
>> buffers.
>
> The problem is UDP. When winsock buffer is full UDP packets are trown
> away. Maybe no problem ?
Ahh, missed that, so
source code line
where the exception happend.
Good luck,
Arno Garrels
> Best Regards,
>
> SZ
>
> ----- Original Message -
> From: "Arno Garrels" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Thursday, February 01, 2007 6:42 P
Fastream Technologies wrote:
> MadExcept did not help. :((
Yes, if the exception is handled by HandleBackGroundException()
MadExcept would not catch it.
But temporarily commenting Try, Except up to End in a few WndProc
procedures will make it work.
---
Arno Garrels [TeamICS]
h
omp(Msg, 'X-Mailer:', 9) = 0 then
StrCopy(Msg, PChar('X-Mailer: MyMailer - www.mymailer.de'));
end;
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
> best regards, retnyg
--
To unsubscribe or change your settings for TWSocket mailing list
e it harder
to change? A property won't hurt, but I can also very well live
with the copy-solution in OnHeaderLine. A SMTP client is a
string-hell anyway so a few string comparisons more or less don't
matter.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
read. When I
> raised WHG_MAX to 800, the exception disappears. Francois, could you
> raise the constant?
This is probably because you post custom messages do you?
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or change your settings for TWSock
ad message }
begin
Any message that was posted to this thread goes here.
In this case you may even PostThreadMessages with message numbers
in the range of ICS messages.
end
else
Not a thread message, receiver is a window
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/ove
d
WM_REMOVEBUTTON = WM_APP + 8; // VirtualShellToolbar
WM_CHANGENOTIFY_CUSTOM = WM_APP + 9;
WM_UPDATESCROLLBAR = WM_APP + 10;
WM_VETBASE = WM_APP + 100
and more..
So be carefull and find the sender!!
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> F
GWndHandlerMsgLow := WM_APP + 100;
I hope this helps.
---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
> Regards,
>
> SZ
>
> - Original Message -
> From: "Arno Garrels" <[EMAIL PROTECTED]>
> To: "ICS support mailin
1 - 100 of 2871 matches
Mail list logo