> Abort() IMHO. Is this correct?
No, since receiving this notification from winsock does not
necessarily mean that all data has been received on the
application level.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Fastream Technologies wrote:
> Hello,
>
cnt := posini to Length(AString) do
begin
if AString[cnt] in SepChars then <= changed
begin
posend := cnt;
Break;
end;
end;
if (posend - posini) > 0 then
ResList.Add(Trim(Copy(AString, posini, posend - posini)));
posini := posend + 1;
Maurizio Lotauro wrote:
> Scrive Arno Garrels <[EMAIL PROTECTED]>:
>
>> Hello Maurizio,
>
> Hello Arno,
>
>> TProxyInfo does not parse the proxy-strings correctly
>> since here in W2K entries are separated by a space, I changed
>> below function to a
Fredrik Larsson wrote:
> I don't see it. I guess you found how to delete it yourself.
>
> The link is
> http://wiki.overbyte.be/wiki/index.php/FAQ.Microsoft.NET_framework
I saw it a couple of hours back, now the above link doesn't work for
me (There is currently no text in
Maurizio Lotauro wrote:
> Scrive Arno Garrels <[EMAIL PROTECTED]>:
>
> Hello Arno,
>
> I finally got some time to examine the problem :-)
Thanks.
> Now I'll change the code. Do you mind I'll send you a copy to test
> it? :-)
OK, drop me a private mail.
Maurizio Lotauro wrote:
> Scrive Arno Garrels <[EMAIL PROTECTED]>:
>
>> Maurizio Lotauro wrote:
>>> Scrive Arno Garrels <[EMAIL PROTECTED]>:
>
> [...]
>
>>> Revising the code I noticed this in the API description. For the
>>> I
Maurizio Lotauro wrote:
> No. I redo the test based on the sample found in the following link:
>
> http://msdn2.microsoft.com/en-us/library/aa383910.aspx
As you already wrote, in the sample they pass a pointer to an
allocated buffer that is never been used :-)
Seems to be an incorrect example.
rom a timer.
I won't use keep alives in the FTP server but a client timeout triggered
by a single timer. Lengthy transfers on the data channel should not
trigger a timeout of the control channel, like many FTP servers do.
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mail
Fastream Technologies wrote:
> Yes, this is the question. It only happens at customer site and I
> cannot do remote debugging since the connection is not that fast.
Under heavy load ?
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or chang
you looked at virtual memory
use in taskmanager yet ?
Or may be some infinite loop somewhere in your code ?
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> Regards,
>
> SZ
>
> - Original Message -
> From: "Fredrik Larsson&q
ether that would work the same)
or define NO_DEBUG_LOG in the project options to exclude
the IcsLogger component.
--
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/m
Fastream Technologies wrote:
> Hello Arno,
>
> Are you getting the emails I send? Please let me know from this email.
I'm currently very busy thus cannot answer private support requests.
Please ask those questions in an appropriate newsgroups or mailing list.
Thanks,
--
Arno Ga
me directories.
Have a look at the GetSpecialFolderLocation() API, if that is what
you are after.
--
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/twsocke
Correction I meant the SHGetSpecialFolderLocation() API.
Arno Garrels wrote:
> Fastream Technologies wrote:
>>> Which home folder should each FTP user show? In the demo they all
>>> show the same folder but that's not a real-life scenario!
>
> Although this is
Fastream Technologies wrote:
> I do not think you see my point at all... I do NOT want to get the
> home folder of the service account user's. I need to input the
> username from the USER command in TO the ActiveDirectory.
What means "input the user name in To the ActiveD
p functions
among the Network Management Functions:
http://msdn2.microsoft.com/en-us/library/aa370675.aspx
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> Clear?
>
> Best Regards,
>
> Sz
>
> - Original Message -
> From: &quo
or other
components of that thread) those unregistered messages won't be touched
by the component but handled by DefWindowProc, so no problem. If the
hidden window has been destroyed Windows flushes the thread message
queue so GetMessage() should never see a message for a non-existing
window
age pump may not work correctly, make sure that you
use this template:
while GetMessage(Msg, 0, 0, 0) do
begin
if (Msg.hwnd = 0) then //***
begin
**handle thread messages here (those posted by PostThreadMessage)**
end
else begin
TranslateMessage(Msg);
ry reliable in multi-threaded applications
it happens that it stops at one line whilst the error is at a different
location.
--
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/ma
that it's called after
SessionClosed, though the message pump may be called from InternalClose,
however that should not hurt at all.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> On 8/22/07, Arno Garrels <[EMAIL PROTECTED]> wrote:
>>
>>
ded to pump messages since THttpCli.Abort
may not block (RequestDone may be triggered delayed by a posted message),
which I think should/can be easily changed to _always behave blocking.
THttpCli.Abort also may call FCtrlSocket.Close.
I don't understand why it doesn't always call FC
This may be a stupid question, isn't GMAIL = Google Mail
and doesn't it allow sending thru their webmail client only?
Fastream Technologies wrote:
> TIA,
>
> SZ
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit
Fastream Technologies wrote:
> No, I use their POP/SMTP service with Windows Mail. It requires SSL.
Then try ICS-SSL and the TSslSmtpCli component, it supports the StartTls
command.
Arno Garrels
>
> Best Regards,
>
> Gorkem Ates
> Fastream Technologies
> Software IQ:
ably very easy to add to the
SMTP client as well.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> Even so, it's very useful to have a POP/SMTP service you can use
> reliably from any PC, anywhere, with a simple client on a USB stick
> for example.
&
is but it's not open source. FileZilla has no
> AD support.
I doubt that SurgeFTP realy writes permissions on a Windows box.
Setting NTFS rights is no problem _if_ somebody knows how to translate
the UNIX access mask into a Windows mask?
--
Arno Garrels [TeamICS]
http://www.overbyte.
Mask()
AccessCheck()
Anyway, I don't know how to translate the resulting mask to unix format,
also there's no reliable way to get the effective rights of users without
having the user access token, even XP shows sometimes nonsense effektive
rights of not logged on users.
--
Arno G
Arno Garrels wrote:
> I use these Windows API functions:
> GetNamedSecurityInfo()
> MapGenericMask()
> AccessCheck()
>
> Anyway, I don't know how to translate the resulting mask to unix
> format, also there's no reliable way to get the effective rights of
> us
ata.de/misc/delphi/ChkAcc.zip
But hav not checked BCB compatibility, though I think it should
work with BCB as well.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> Regards,
>
> SZ
>
> - Original Message -----
> From: "Arno Garrels
http://www.codegear.com
--
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
x27;s in both V5 and 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
Francois PIETTE wrote:
>> Any ideas what's causing this?
>
> No idea.
I'm also not able to reproduce this in V6 D2007, strange.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
>> I'm unable to trace into the Pascal source for
e the events; OnValid called from the context of the main
> process or a background thread?
By default ICS doesn't create threads, see above.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> Many thanks.
>
> David
>
>
>
&
; blocking the FTP Server.
Correct, that won't work of course. In your ThreadProc create the component
and call GetMessage(), TranslateMessage() and DispatchMessage in a loop.
Anything else can either be done from the ICS events, or from handlers of
custom messages posted to Thread, i.e. to s
he requirement for a NOFORMS message pump at all?
NOFORMS forces to not include Forms.pas into ICS. It doesn't change
the fact that a message pump must exist.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> On 20/09/2007, Francois Piette <[EMAIL PROTECT
ht places, however the logic to detect new
uploads still has to be invented. Note that both events will fire also
when partitial uploads start or finish.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or change your settings for TWSocket mailing
Fastream Technologies wrote:
> What is a "first chance exception" anyway?
Google is your friend, anyway:
http://www.google.com/search?q=What+is+a+%22first+chance+exception%22
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> Regards,
>
&g
is proposal?
That would slow down performance when you use the component as designed.
When the application is idle it should read incomming data immediately.
There is no reason to wait until a certain amount of data is pending
to be read from winsock.
--
Arno Garrels [TeamICS]
http://www.
h as the first byte.
Or write received data to a stream if you like. Source code of the
high level ICS components demonstrate how to do that in detail.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or change your settings for TWSocket mailing list
pl
ll when
messages are pumped in the event handler.
> Would another thread calling processmessages
> give the same problems?
No, ProcessMessages retrieves messages from the thread message queue
and dispatch them to the default window procedure.
--
Arno Garrels
>
> Thanks.
&g
Mike Sutton wrote:
> I thing a prominent link may help user, both new and
> existing.
That most likely would help to make the project moving forward.
I just added some short-descriptions to the TSmtpCli main page.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamic
st stops listening, doesn't disconnect
connected clients, if that's what you mean.
--
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/twsock
e socket,
however data still pending in winsock buffer will be sent
nevertheless.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
>
>
>> --- Original Message ---
>>> From: Wilfried
> Mestdagh[mailto:[EMAIL PROTECTED]
&
Wilfried Mestdagh wrote:
> Hello Arno,
>
>> Most likely Wilfried is faster again ;-)
>
> most of the time you are faster :)
Isn't this list great? Where else do you get faster support for
free software?
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overby
any other distributions.
The only strange thing I do not understand is that all icons
are missing in the Tool-Palette of BCB2007, anybody any idea?
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> THANKS.
>
> Gorkem
>
>
> On 9/30/07, Fr
Arno Garrels wrote:
> Fastream Technologies wrote:
> Any ideas??
Sorry, my green light was given too early and you are right,
there are indeed a few small bugs in procedure THttpCli.GetBodyLineNext
when UseContentCoding is not defined in the parts dealing with
chunked encoding. Francois c
download the partner DVD just to get the latest ICS
distribution. Everybody expects that the same, or even a newer version
is available on your website. If that's not case please change that.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or
tpProt.pas
is used MimeUtils.pas MUST be exchanged due to a bug in
DoFileEncQuotedPrintable.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
Francois PIETTE wrote:
> There is a new ICS-V6 beta available. Updated for RAD Studio 2007.
> Still OK for Delphi 7.
Olivier Sannier wrote:
> Isn't it what CloseDelayed is meant for?
CloseDelayed won't reenter the event, however to ensure that
last data packets are received properly before the socket is
closed call ShutDown() for a gracefull close in DataSent event
handler.
--
Arno Garrels [
Socket.InternalClose the message
pump is called. Anyway calling Send() immediately followed be CloseDelay
will most likely (not always) lead to truncated data on the client side.
Best practice when calling ShutDown(1) from OnDataSent is starting a timer
to detect timeouts when the client should
Maurizio Lotauro wrote:
> I see that jcl has switched from CVS to SVN, so probably it will be
> better to choice SVN.
Yes, and TortoiseSVn looks like a very cool and powerfull tool on the
first glance!
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
;
Begin
Try
FSocketSrv := TWSocketThrdServer.Create(Nil);
FSocketSrv.Listen();
FSocketSrv.MessageLoop;
Finally
// Add
FSocketSrv.Free;
PostMessage(AppHwnd, WM_SERVERTHREAD_WILL_TERMINATE_SOON, ErrorCode,
RestartMe);
End;
End;
--
Arno Garrels
les
> of the TWSocket class hierarchy, which if changed, may affect all
> other units. That way you make sure that, say, Francois and Arno
> will not be changing the same things at the same time.
Isn't it safe to use the Copy-Modify-Merge solution, described in the
online-help ?
-
DZ-Jay wrote:
> On Oct 7, 2007, at 14:57, Arno Garrels wrote:
>
>> Isn't it safe to use the Copy-Modify-Merge solution, described in the
>> online-help ?
>
> Yes, it is very safe.
Now that I checked how to merge particular changes made in
branches to the main so
is most likely not required. Also revision numbers are incremented
for the entire project/repository. But I could very well live with
both in the same repository as well, locally I also treat them as
two different projects.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.ht
s to make development easier for a workgroup isn't it?
ICS can only benefit from such a concept. That must not mean
to move the source to SourceForge, all we need is a server that
runs SVN, 24 hours a day, ideally under your control.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/ove
Francois PIETTE wrote:
>> The goal is to make development easier for a workgroup isn't it?
>
> Yes, it is.
>
>> ICS can only benefit from such a concept. That must not mean
>> to move the source to SourceForge, all we need is a server that
>> runs SVN, 24 hours a day, ideally under your control.
ient were distroyed by Srv.Free, which will raise an
> exception that I would like to avoid if possible. So, what I did was
> not call ShutDown(1), and expect the shutdown to occur when
> destroying the Srv, like this:
>
> Try
> Srv.Shutdown(0); // make sure we do
DZ-Jay wrote:
> On Oct 11, 2007, at 06:47, Arno Garrels wrote:
>
>> Iterating thru Srv.Clients is not the way to go!! It is not
>> thread-save and will most likely throw strange AVs. Instead
>> iterate thru the thread-list and post a custom message to each
>> thread,
Btw: Should read:
TMessageEvent = procedure(Sender: TObject; var Msg: TMessage; var Handled:
Boolean) of object;
--
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
think so. You only must ensure that lengthy, blocking
tasks are moved into worker threads in order to not slow down
response time to all other clients too much or not to block
subsequent connection attempts.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
>
s finished
their concurrent download.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> Best Regards,
>
> SZ
>
>
> On 10/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>> --- QUOTE: SZ
>> If you do not want the a
Fastream Technologies wrote:
> if(method == "GET")
> bufferClient->GetASync(); // here gives "Busy" error, WHY? ISN'T
> THIS THE PROPER WAY TO USE THE COMPONENT??
I cannot reproduce this? Any special environment required?
--
Arno Garrels [TeamICS
l.
> Thanks,
>
> SZ
>
>
> On 10/11/07, Arno Garrels <[EMAIL PROTECTED]> wrote:
>>
>> Fastream Technologies wrote:
>>> if(method == "GET")
>>> bufferClient->GetASync(); // here gives "Busy" error, WHY? ISN'T
>&
many other bottlenecks
that could benefit from MT.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> Regards,
>
> SZ
>
>
> On 10/11/07, Arno Garrels <[EMAIL PROTECTED]> wrote:
>>
>> Fastream Technologies wrote:
>>&g
ct other than "the list
> is placed in a local file". Where?
Check the FtpsTst demo, there's a property LocalFileName
search for string "TEMP_FILE_NAME".
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> Thanks,
>
> Ian T
orks event-driven, means that most methods return immediately
before they are finished, later when they finished another event is
triggered where you take further action.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> Thanks for y
Hi,
I've written a FTP-uploader without taking much care of speed issues.
It uploads 17000 files with total size of 830 MB in 56 mins in my
100 MBit/s LAN (logging each FTP-command).
What do you think, is that:
a) Poor
b) OK
c) Fast
I currently don't have any idea.
--
Arno Garrel
4 large file and use 4 instances of
> your program ?
That would most likely speed up things, currently CPU use is only at
0-15% at the client side.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> --
> [EMAIL PROTECTED]
> The author of the freewar
things. Use "netstat -e" to
> see you netwrok card statistics. rejected packets and errors should
> be zero.
Fortunately both are zero.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
> --
> [EMAIL PROTECTED]
> Author of ICS (Internet
Tobias Rapp wrote:
>>> Actually, this is a lot of small files (48KB mean size).
>>> Speed is roughly 2 Mbps which is low for a 100 Mbps.
>>
>> Oha, as I read between the lines, I have to rework my code :(
>
> Also do not forget to play with the BufSize and SocketSndBufSize
> settings on tWSocket.
options ftpsHidePhysicalPath
and ftpHidePhysicalPath and also fixes some security issues related
to directory changes.
--
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.
r from users of ICS v6 and whether they find
> it stable in their production software.
I think it can be considered as stable as V5, brand new features however
may still be beta of course.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
> Thanks,
> dZ.
&
DZ-Jay wrote:
> On Oct 17, 2007, at 06:52, Arno Garrels wrote:
>> function TFoo.MsgHandlersCount : Integer;
>> begin
>> Result := 1 + inherited MsgHandlersCount;
>> end;
>>
>> procedure TFoo.AllocateMsgHandlers;
>> begin
>>
How is option ftpWaitUsingSleep set? Can you try to change this
to either True or False? I've no experience with the sync-methods
since I'm using async methods, in worker threads successfully as
well. If that doesn't change anything you could try to lower
thread's priority, just an id
Tobias Giesen wrote:
> Everything happens in the thread,
Just to clear this up, you have to create the TFtpClient
instance method Execute of TThread. Otherwise it won't
realy run in the thread.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubs
Begin
With (Sender As TMyClient) Do Begin
If (SomethingBadHappened) Then Begin
OnDataSent := ClientDataSent;
SendLine('Error!');
End;
End;
End;
procedure TMyServer.ClientDataSent(Sender: TObject; ErrCode: Word);
begin
TWSocket(Sender).OnDataSent := nil;
t as
> soon as I use FTP or HTTP or even SSH with any library (ICS, Indy,
> SecureBlackBox, Clever Internet Suite) the main process stalls.
So are you saying that it's not a problem related to ICS only?
Do you see similar (strange delays or high CPU use) with IE or any
other intern
DZ-Jay wrote:
> On Oct 18, 2007, at 02:35, Arno Garrels wrote:
>
>> Your code does not guarantee that all data will be sent
>> to the client. Make sure that ShutDown() is called after
>> all data has been delivered to winsock. Something like
>> that:
>
> Tha
essMessages from a
timer event, timer messages are not queued as well. Be aware that
calling ProcessMessages from any ICS event handler can lead to
strange and buggy component behaviour.
Never ever call the message pump from component's event handlers,
except you know very well what you are
ducts yet. Should
be no problem to install 2006 on Vista as well. Either turn off UAC
or run the BDS-Process as Admin, also turn off hardware DEP.
--
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/
Angus Robertson - Magenta Systems Ltd wrote:
> I've got opt-md5 working in the ICS FTP client (and shortly the FTP
> server), but opt-md4 and opt-sha1 are not generating the expected
> results.
Just a little test with MD4, Count 0 gave me the expected result:
MD4Init(Md4Ctx);
Md4Update(Md4Ct
l folders. I hope you get what I mean and help.
AFAIK, that's impossible. I think you have to maintain a custom list of
each user's folder mapping.
--
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mail
When the server admin sets up the folders of an account you store
this configuration, including the mapping real path <=> virtual path.
>
> Regards,
>
> SZ
>
>
> On 11/15/07, Arno Garrels <[EMAIL PROTECTED]> wrote:
>>
>> Fastream Technologies
using ReceiveStr.
>
> Is the speed improvement potential worth the added complexity to
> covert my app from using SendStr and ReceiveStr to Send and Receive?
Francois already answered that.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
>
> If ye
router isn't smart enough to change this
to the current public IP. I guess the user must either buy a smarter
router or try passive mode (if the server allows it).
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
--
To unsubscribe or change your settings for TWSoc
Hello Pete,
The states are not that important, but the events are.
Check this link: http://wiki.overbyte.be/wiki/index.php/Asynchronous_Paradigm
and ask your questions here if it doesn't answer your question.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
troppo gigio wrote:
> There will be any SSL for delphi 4 ??
ICS-SSL-V5 requires Delphi 5 and
ICS-SSL-V6 requires Delphi 7.
However most likely it were not much work to make ICS-SSL-V5
compile with Delphi 4 as well.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.h
n;
var
..
{$IFDEF DELPHI3}
BytesReturned : DWORD;
{$ELSE}
BytesReturned : Cardinal;
{$ENDIF}
..
To:
procedure TCustomWSocket.SetKeepAliveOption;
var
..
BytesReturned : DWORD;
..
Does that help?
--
Arno Garrels
[EMAIL PROTECTED] wrote:
> Quoting Francois Piette <[EMAIL PR
"{$IFDEF DELPHI2}" it won't compile
in Delphi 3 anymore, I think you should simply remove the conditional.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
> Quoting Arno Garrels <[EMAIL PROTECTED]>:
>
>>> the unit. Sti
Robert W Harris wrote:
> hey just woundering.
> will ICS work with turbo delphi?
Yes, the Turbos basically are BDS2006 with just the Delphi personality,
however the free Version doesn't allow components to be installed in the
IDE, instead you have to create the ICS-Objects at runtim
est is with
TcpSrv Demo, with logging to the memo enabled I get the first
error 10061 after 100-200 connects (10ms intervals). Turning off
logging to memo establishes several thousand connections without
any error easily.
--
Arno Garrels
>
> Paul
>
>
> - Original Messag
t.
> OnSessionAvailable doesn't seem to get called ever.
OnDataSent is usefull to send large data in smaller chunks.
It's always called when the internal send buffer became empty.
--
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
kets,
as I read the post it deals with a client (connecting party).
--
Arno Garrels
>
>Also, what happens when you try to send a second
> time (or does it even try)? Do you get a "Component
> already connected" error or something like that?
>
>If your burst m
[EMAIL PROTECTED] wrote:
>> Update your Delphi, preferably to the current version (Delphi 2007).
> .. and what kind of nightmare can I expect migrating over 6mb of d2
> code to d7?
The longer you wait upgrading to a current version the nightmare will
last longer ;-)
--
[EMAIL PROTECTED] wrote:
> Its nice to have a mailing list where you can get
> many people addressing the same questions :)
Agreed, and don't forget the free sources.
Do you realy need more?
--
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
D_Read for
> every block of data, then ASyncReceive and any DataAvailable events
> would be called multiple times.
There is no relationship to the amount of data, there should be one
FD_Read message as long as data is available in winsock's receive buffer.
Looping in ASyncReceive is required befo
the same as with (a).
The goal is to accept clients as fast as possible, once they are
connected it won't hurt to let them wait some milliseconds.
Before you rewrite your application I suggest you code some test
apps. with different designs and compare their performance.
--
Arno Garrels
[EMAIL PROTECTED] wrote:
>> --- Original Message ---
>>> From : Arno Garrels[mailto:[EMAIL PROTECTED]
>>
>>> You can exchange data between threads the most
> easy is by posting a
>>> message where a pointer to the data is in WParam
> argumen
ee why Mail() does not
> work.
>
> is this a FAQ ?
Looks like that ;-) You get this error when you do not code event-driven.
Check this link: http://wiki.overbyte.be/wiki/index.php/Asynchronous_Paradigm
to get started.
--
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.
> stop the receive loop.
Have you got any exception that was raised from TWSocket internaly?
I mean outside of your handler?
--
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
301 - 400 of 2871 matches
Mail list logo