Re: [twsocket] Listen exception

2007-04-10 Thread Arno Garrels
27;s worth a trial, it won't break anything. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > > -Message d'origine- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > De la > part de Arno Garrels > Envoyé : mardi 10 avril 200

Re: [twsocket] Listen exception

2007-04-13 Thread Arno Garrels
Call the message pump finally Destroy instance of TWsocketServer end; end; -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > > -Message d'origine- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > De la >

Re: [twsocket] Client identification

2007-04-13 Thread Arno Garrels
the client is still in the client list, AND also don't forget to identify each client thru a unique, custom ID since the same address _may already be assigned to a newly connected client if the destination client has disconnected while the thread processed the task. -- Arno Garrels [TeamICS]

Re: [twsocket] Client close exception and connection doubt

2007-04-13 Thread Arno Garrels
Éric, Since ICS works asynchronous a reconnect-timer should be started from event handler OnSessionClosed, is that the case? Also the best place to destroy the object is from OnSessionClosed as well. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Éric Fleming

Re: [twsocket] Client close exception and connection doubt

2007-04-13 Thread Arno Garrels
Éric Fleming Bonilha wrote: >> Éric, > >> Since ICS works asynchronous a reconnect-timer should be started from >> event handler OnSessionClosed, is that the case? >> Also the best place to destroy the object is from OnSessionClosed as >> well. > > But the OnSessionClosed event will be triggered

Re: [twsocket] Listen exception

2007-04-13 Thread Arno Garrels
ect in one of my applications so far. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels >> Sent: Friday, April 13, 2007 11:01 A

Re: [twsocket] Problem upgrading to ICS V5 forDelphi/C++BuilderBeta(Nov 11, 2006)

2007-04-15 Thread Arno Garrels
ll? If yes, log the response headers and requests and post them here. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Db > > Screen->Cursor = crHourGlass; > String c_dir = GetCurrentDir(); > String url = "http://www.";

Re: [twsocket] Bug in HTTPProt.pas (URGENT)

2007-04-15 Thread Arno Garrels
It turned out that this was false alert. I couldn't reproduce the problem, tested against an URL provided by Fastream Technologies using latest Betas v5/v6. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Fastream Technologies wrote: > Hello, > >

Re: [twsocket] Problem upgrading toICSV5forDelphi/C++BuilderBeta(Nov 11, 2006)

2007-04-16 Thread Arno Garrels
IMHO the easiest way to install a new version is to rename the old ICS root folder, then extract the zip to a newly created directory with the old folder name. For single stepping into ParseUrl it may help to add IcsUrl.pas to the ICS package. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng

Re: [twsocket] Problem upgradingtoICSV5forDelphi/C++BuilderBeta(Nov11, 2006)

2007-04-16 Thread Arno Garrels
David Bridges wrote: > Arno Garrels [TeamICS]: > >> At least IcsUrl.pas (dated 01/01/2006) is included in current >> release, ics.zip. >> >>> When I try to single >>> step into ParseUrl I'm prompted to browse to the location of the >>> f

Re: [twsocket] Unique Handle of a connection with TWSocketClient

2007-04-16 Thread Arno Garrels
Marc, Have a look at GpHTTPProxy (Primoz Gabrijelcic) http://gp.17slon.com/gp/tgphttpproxy.htm The GpHTTPProxy is based on SocketSpy (Wilfried Mestdagh), downloadable from the User made page at the ICS website. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html [EMAIL

Re: [twsocket] TFTPCli : Altered picture on FTP Transfet

2007-04-17 Thread Arno Garrels
In order transfer data in binary mode you must set property BinaryMode to TRUE as well as call the TypeSet command to send the new transfer type to the server. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Nicolas DEZORTHES wrote: > Hello, > I have encount

Re: [twsocket] HttpCli and Proxy Server interaction

2007-04-17 Thread Arno Garrels
that username and password is already stored there? Have a look at this component: http://www.cobans.net/pslib.php -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Your help is greatly appreciated. > > Thank you. > > > -

Re: [twsocket] 501 Cannot RETR. Error - Socket with icsFtpServ(V6forDelphi7)

2007-04-18 Thread Arno Garrels
has to be patched to the plublic IP by the the router. Modern routers (even some cheep ones) can do that. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > best regards > Patrick Schmidt > > - Original Message - > From: "Fastream Techno

Re: [twsocket] 501 Cannot RETR. Error - Socket with icsFtpServ(V6forDelphi7)

2007-04-18 Thread Arno Garrels
his time (and error-message) the client gets the list and > loads every file in the list! > That's strange... I bet the delay starts after the server called Data.ShutDown(1) in FtpSrv.pas, TFtpServer.WMFtpSrvCloseData, can you please set a breakpoint there and check whether that this is

Re: [twsocket] httpcli v6 "bad request"

2007-04-19 Thread Arno Garrels
solution (by >> "client" I mean that it is not directly the server, but a consumer >> of the services provided by the server, in this case the ASP >> framework). >> > > No idea, I can only see that the send header in this case will have > the %20 i

Re: [twsocket] httpcli v6 "bad request"

2007-04-19 Thread Arno Garrels
[EMAIL PROTECTED] wrote: >> --- Original Message --- >>> From : Arno Garrels[mailto:[EMAIL PROTECTED] >> Sent: 4/19/2007 6:37:09 AM >> To : twsocket@elists.org >> Cc : >> Subject : RE: Re: [twsocket] httpcli v6 "bad request"

Re: [twsocket] httpcli v6 "bad request"

2007-04-19 Thread Arno Garrels
Arno Garrels wrote: > [EMAIL PROTECTED] wrote: >>> --- Original Message --- >>>> From: Arno Garrels[mailto:[EMAIL PROTECTED] >>> Sent: 4/19/2007 6:37:09 AM >>> To : twsocket@elists.org >>> Cc : >>> Subject : RE

Re: [twsocket] 501 Cannot RETR. Error - SocketwithicsFtpServ(V6forDelphi7)

2007-04-20 Thread Arno Garrels
it works, too! :-( Possibly G6 works around that, have you tried Serv-U as well as FileZilla server? If they all handle your client correctly we have to find a workaround. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > > I also tried your

Re: [twsocket] httpcli v6 "bad request"

2007-04-20 Thread Arno Garrels
ent may have its own set of characters that are reserved, so only the mechanism responsible for generating or interpreting that component can determine whether or not escaping a character will change its semantics. Likewise, a URI must be separated into its components before the

Re: [twsocket] 501 Cannot RETR. Error-SocketwithicsFtpServ(V6forDelphi7)

2007-04-20 Thread Arno Garrels
u think, should we tweak the TFtpSrv to send the response earlier? > May i send you my captured .pcap - file (148 KB) ? Yes, please send it. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > best regards > Patrick Schmidt > > - Original Messa

Re: [twsocket] 501 Cannot RETR.Error-SocketwithicsFtpServ(V6forDelphi7)

2007-04-20 Thread Arno Garrels
ously didn't call Data.ShutDown(1) for some reason? Subsequent RETR however worked fine, is this with latest ICS-Beta download available? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Arno Garrels wrote: > Patrick Schmidt - STEP Software GmbH wrote: >>

Re: [twsocket] 501 CannotRETR.Error-SocketwithicsFtpServ(V6forDelphi7)

2007-04-20 Thread Arno Garrels
tDown(1) at once, but not 100% sure. Anyway that doesn't seem to be the problem in this case. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > So it can't send the 226 answer before > the connection close is complete. > > -- > [EMAIL PROTECTED]

Re: [twsocket] 501CannotRETR.Error-SocketwithicsFtpServ(V6forDelphi7)

2007-04-20 Thread Arno Garrels
(which finally makes the client close the connection) wasn't RFC conform. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > > -- > Contribute to the SSL Effort. Visit > http://www.overbyte.be/eng/ssl.html -- > [EMAIL PROTECTED] > http://ww

Re: [twsocket] remove

2007-04-20 Thread Arno Garrels
Luciano Alves Barroso - DigiVoice wrote: > remove my email from this list... To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.h

Re: [twsocket] 501CannotRETR.Error-SocketwithicsFtpServ(V6forDelphi7)

2007-04-20 Thread Arno Garrels
s that opensource/freeware as well? WireShark is great at least in order to share packet dumps, since everybody may use it w/o charge, I like it very much and don't miss any feature so far. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > -- > Co

Re: [twsocket] how to HTTP POST files

2007-04-21 Thread Arno Garrels
sample somewhere ? Have a look at HTTPCLIEXAMPLE.ZIP available at the ICS website (User Made). "DaFlip created the example code for using HTTP Mutlipart Formdata posting with the HTTPCli component. It includes source for server side (CGI/Perl) and client side (Delphi 4)" -- Arno Garrel

Re: [twsocket] httpcli v6 "bad request"

2007-04-21 Thread Arno Garrels
rs in event OnLocationChange or by public properties so the application developer can do what's required himself. A class TIcsUrl could help to make current source code better readable. A faster and more copmlete function UrlEncode should be made available. -- Arno Garrels [TeamICS] http:/

Re: [twsocket] httpcli v6 "bad request"

2007-04-21 Thread Arno Garrels
d (S[I] <> '&') do begin Ch := S[I]; if Ch = '%' then begin Ch := chr(htoi2(@S[I + 1])); Inc(I, 2); end else if Ch = '+' then Ch := ' '; Result[Y] := Ch; Inc(I); Inc(Y

Re: [twsocket] httpcli v6 "bad request"

2007-04-21 Thread Arno Garrels
ation developer can do what's required >> himself. > > OK, but as DZ said, it must ne delivered at correct time. I'll give it a trial tomorrow if I have some minutes. I also would like to move functionality of OnLocationChangeExceeded into the new OnLocationChang

Re: [twsocket] httpcli v6 "bad request"

2007-04-21 Thread Arno Garrels
Frans van Daalen wrote: > From: "Arno Garrels" >> >> Instead the component should provide access to parts of a URL, >> either by var-parameters in event OnLocationChange > > As said before the OnLocationChange is to late. That event is > triggered ju

Re: [twsocket] httpcli v6 "bad request"

2007-04-22 Thread Arno Garrels
e(hdrLine); end; 2) procedure THttpTestForm.HttpCli1HeaderData( Sender : TObject); begin if Pos('Location: ', THttpCli(Sender).LastResponse) = 1 then THttpCli(Sender).LastResponse := Change(THttpCli(Sender).LastResponse); end; Arno Garrels wrote: > Frans van

Re: [twsocket] 501CannotRETR.Error-SocketwithicsFtpServ(V6forDelphi7)

2007-04-23 Thread Arno Garrels
ls windows updated. While capturing, you see the packet >> list updated real time. You can setup filters to capture only what >> you need and you can capture to a file for later analysys. Could be a description of WireShark as well :) BTW: Latest version of WireShark uses WinPcap 4.0

Re: [twsocket] Hash algorithm

2007-04-23 Thread Arno Garrels
a releases. May be someone can add a progress callback to IcsSha1.pas as well? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Best Regards, > > SZ > > - Original Message - > From: "Markus Humm" <[EMAIL PROTECTED]> &

Re: [twsocket] httpcli v6 "bad request"

2007-04-23 Thread Arno Garrels
well formed headers. Anyway something needs to be done. -- 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

Re: [twsocket] httpcli v6 "bad request"

2007-04-24 Thread Arno Garrels
[Y], 3); Inc(I, 3); Inc(Y, 3); end else begin X := IntToHex(Ord(S[I]), 2); Result[Y] := '%'; Result[Y + 1] := X[1]; Result[Y + 2] := X[2]; Inc(Y, 3); Inc(I); end; end; SetLength(Result, Y - 1); end; {* * * * *

Re: [twsocket] twsocket Server

2007-04-24 Thread Arno Garrels
bout the buffer that is > used by > > > > Twsocketclient.PutDataInSendBuffer Since v5.2 there's a property BufferedByteCount. BTW: Any of the send-functions put the data into the send buffer first. If you don't want the buffer grow too large event OnDataSent is a good place

Re: [twsocket] Secure FTP

2007-04-25 Thread Arno Garrels
Robert Chafer wrote: > Hi > > Does ICS support secure FTP? Depends what that means, ICS-SSL, http://www.overbyte.be/eng/ssl.html supports RFC #4217, http://www.faqs.org/rfcs/rfc4217.html -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > -- >

Re: [twsocket] 501 Cannot RETR. Error - Socket withicsFtpServ(V6forDelphi7)

2007-04-27 Thread Arno Garrels
Arno Garrels wrote: > Patrick Schmidt - STEP Software GmbH wrote: >>> Later you change to that directory and request a dir list. The >>> server somewhat hang creating the directory list. After 2 minutes >>> the connection is >>> closed (probably an inactivity

Re: [twsocket] tThrdSrv

2007-04-27 Thread Arno Garrels
I think the comment in the demo is not correct. Actually OnClientConnect is triggered in worker thread context. You can easily check the thread context by calling Windows.GetCurrentThreadID. So probably event OnClientCreate was the place to add the new tab. -- Arno Garrels [TeamICS] http

Re: [twsocket] tThrdSrv

2007-04-27 Thread Arno Garrels
Arno Garrels wrote: > I think the comment in the demo is not correct. > Actually OnClientConnect is triggered in worker thread > context. You can easily check the thread context by > calling Windows.GetCurrentThreadID. So probably event > OnClientCreate was the place to add the n

Re: [twsocket] How to get the call stack programmatically?

2007-04-28 Thread Arno Garrels
u can raise an exception. Would that help? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Best Regards, > > SZ -- 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] How to get the call stack programmatically?

2007-04-28 Thread Arno Garrels
ticalSection->Acquire. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > void __fastcall lockCriticalSection(TCriticalSection *CS) > { >// currently it is: >CS->Acquire(); > >// what should it be? > } > > Be

Re: [twsocket] How to get the call stack programmatically?

2007-04-28 Thread Arno Garrels
Fastream Technologies wrote: > Arno, > > I have THOUSANDS of critical sections passed to this function as > parameter! Why do you need THOUSANDS of critical sections?? That sounds slower than running single threaded. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/

Re: [twsocket] How to get the call stack programmatically?

2007-04-28 Thread Arno Garrels
wait returns WAIT_TIMEOUT. > Can you provide some source code > snippet for this please? Please search the internet there should be tons of snippets around, or ask your question in newsgroup: borland.public.delphi.nativeapi.win32. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/ove

Re: [twsocket] How to get the call stack programmatically?

2007-04-29 Thread Arno Garrels
not ReleaseMutex(FMutex) then ECriticalSection.Create(SysErrorMessage(GetLastError)); end; end. ------ -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing li

Re: [twsocket] How to get the call stack programmatically?

2007-04-29 Thread Arno Garrels
Arno Garrels wrote: > > Try something like the class below (untested), copy the code Small fix add "raise" in front of ECriticalSection.Create in TCriticalSection.Create as well as in TCriticalSection.Release. -- To unsubscribe or change your settings for TWSocket mailing list

Re: [twsocket] Bug in Arno's latest THttpCli

2007-05-01 Thread Arno Garrels
problem fixed. If that didn't fix your problem I'm currently helpless since the call stack doesn't give me a hint were to search. BTW: Note that current ICS-Betas do not require my small fix! And it's Francois' THttpCli not mine ;-) -- Arno Garrels [TeamICS] http://w

Re: [twsocket] ThrdSrv

2007-05-03 Thread Arno Garrels
Don't jump! Your code below looks correct. Instead try the same with standard TTabsheet/TPageControl in the original ThrdSrv demo. Does that work? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Gary Stafford wrote: > I posted a message the other day about ho

Re: [twsocket] Strange Vista winsock behavior--any way to by-pass?

2007-05-03 Thread Arno Garrels
4-5000 connections/sec on IIS6 on > XP-x64. > > Any explanation/solution for these? May be some Vista setting to avoid such attacks? Or may be Vista is just slower than XP? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > WARM Regards from Turkey wher

Re: [twsocket] Strange Vista winsock behavior--any way to by-pass?

2007-05-05 Thread Arno Garrels
icrosoft.com/windowsserver/longhorn/audsel.mspx > > http://msdn2.microsoft.com/en-gb/evalcenter/bb383571.aspx > > Has anyone started testing ICS on Windows 2007? Thanks, I'm currently downloading with DownThemAll, a nice plugin for FireFox. -- Arno Garrels [TeamICS] http://www.ove

Re: [twsocket] NTLM on multi-user-per-thread FTP case

2007-05-07 Thread Arno Garrels
for the test?? If the server admin wants to control access to files'n folders only by Windows security you probably hit the point where one (impersonated) thread per user was best choice? Otherwise you could handle NTLM like any other authentication type. -- Arno Garrels [TeamICS] http://ww

Re: [twsocket] NTLM on multi-user-per-thread FTP case

2007-05-07 Thread Arno Garrels
I missed the keyword "FTP". NTLM isn't available in any of the FTP components. Arno Garrels wrote: > Fastream Technologies wrote: > >> - Arno told me that one would need to impersonate the thread and then >> attempt to read/write on network. However, since th

Re: [twsocket] NTLM on multi-user-per-thread FTP case

2007-05-08 Thread Arno Garrels
Fastream Technologies wrote: > I am talking about FTP SERVER. Can you help us build NTLM security to > TFtpServer? Or, IS THIS POSSIBLE? Do you know any FTP client with NTLM support? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Regards, > &

Re: [twsocket] NTLM on multi-user-per-thread FTP case

2007-05-08 Thread Arno Garrels
function TNtlmAuthSession.ValidateUserCredentials( const AUser, APassword, ADomain: String; CleanUpSession: Boolean): Boolean; If you want to call ImpersonateContext/RevertContext pass FALSE in parameter CleanUpSession. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/tea

Re: [twsocket] NTLM on multi-user-per-thread FTP case

2007-05-08 Thread Arno Garrels
hen there are some more questions we must ask. Such as what > should be passed to "domain" which was not asked in our reverse proxy! AFAIR, if blank current domain or local host is used, otherwise specified domain, but not for sure, it was very easy to scribble a small test project

Re: [twsocket] NTLM on multi-user-per-thread FTP case

2007-05-08 Thread Arno Garrels
BTW: You also could use the LogonUser API since you know both username as well as password. Arno Garrels wrote: > Fastream Technologies wrote: >> Hello Arno, >> >> Either we are having a kind of communication problem or you did not >> read what I sent you privately.

[twsocket] TFtpServ that uses FTP user's Windows account security context

2007-05-10 Thread Arno Garrels
sed here. BTW: I changed/fixed the STOU command, can somebody please test? -- 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

Re: [twsocket] TFtpServ that uses FTP user's Windows accountsecurity context

2007-05-10 Thread Arno Garrels
> Is this normal? I think so, since a newly created user is a member of group Everyone by default which has read-permission to most files. I tested with a newly created group FTP-Users to which I denied certain NTFS-rights for testing purposes (there's probably a smarter way). -- Arno

Re: [twsocket] TFtpServ that uses FTP user's Windows accountsecurity context

2007-05-11 Thread Arno Garrels
this normal? SZ, Any progress in testing? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > Regards, > > SZ > > > On 5/10/07, Arno Garrels <[EMAIL PROTECTED]> wrote: >> >>> Perhaps you can code the NTLM into ICS FTP Serv

Re: [twsocket] TFtpServ that uses FTP user's Windowsaccountsecurity context

2007-05-13 Thread Arno Garrels
or turn off virtualization as well as UAC or try to run the demo As Administrator. BTW: Even disk quotas work (I tested in XP). -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > On 5/11/07, Arno Garrels <[EMAIL PROTECTED]> wrote: >> >&g

Re: [twsocket] Unconventional use of HTTP...

2007-05-13 Thread Arno Garrels
; What am I doing wrong? Have a look at HTTPCLIEXAMPLE.ZIP available at the ICS website (User Made). "DaFlip created the example code for using HTTP Mutlipart Formdata posting with the HTTPCli component. It includes source for server side (CGI/Perl) and client side (Delphi 4)" -- A

Re: [twsocket] SmtpCli and the results of some tests

2007-05-13 Thread Arno Garrels
finally mainform.SmtpCli.ThreadDetach; end finally { Has to be called in any case if you free the thread on your own } PostThreadMessage(mainthread, wm_mailende, 0, 0); end; end; -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Markus

Re: [twsocket] TFtpServ that uses FTP user's Windowsaccountsecuritycontext

2007-05-14 Thread Arno Garrels
P Pro (Administrative Tools |Computer Management | Local Users and Groups). > My XP Home laptop is in > repair...sorry once again. AFAIK the Home edition doesn't provide an option to set NTFS rights as required by default. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overby

Re: [twsocket] TFtpServ that uses FTP user'sWindowsaccountsecuritycontext

2007-05-14 Thread Arno Garrels
you all those basic Windows security stuff, read about that in the online help or search the internet, please! -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Regards, > > SZ > > On 5/14/07, Arno Garrels <[EMAIL PROTECTED]> wrote: >

Re: [twsocket] TFtpServ that uses FTP user'sWindowsaccountsecuritycontext

2007-05-15 Thread Arno Garrels
er to test whether the demo works or not it's enough to test in certain subfolders below C:\TEMP where you can play with NTFS-rights without any risc to break your system. Here's a good article however for Windows 2000: http://www.windowsitlibrary.com/Content/592/toc.html -- Arno Garrels

Re: [twsocket] CliDemo

2007-05-17 Thread Arno Garrels
> I have two problems:- Writing to a memo, line by line is very, very slow. Slows down entire application and you risk to make the GUI not responding. Have you tried to receive into a buffer temporarily the copy bigger chunks to the memo? -- Arno Garrels [TeamICS] http://www.overbyte.be/

Re: [twsocket] TFtpServ that uses FTP user's Windows account security context

2007-05-18 Thread Arno Garrels
Now the source code is included: http://www.duodata.de/misc/delphi/OverbyteIcsFtpSrv-20070516.zip -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Arno Garrels wrote: > Fastream Technologies wrote: >> Not yet. Having personal problems these days.. :(( >

Re: [twsocket] HTTPCli and proxy settings

2007-05-19 Thread Arno Garrels
Dod wrote: > Next time i'll see Bill Gates, I'll ask him to implement some Wininet > IsLocalAddr function ! Possibly usefull: ICS v6 function WSocket2IsAddrInSubNet in OverbyteIcsWinsock2.pas? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] HTTPCli and proxy settings

2007-05-19 Thread Arno Garrels
Dod wrote: > Hello Arno, > > I don't have OverbyteIcsWinsock2.pas unit in my ICS V6 installation... Then you are using an old version. The unit also includes a function to get systems interface list easily. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyt

Re: [twsocket] HTTPCli and proxy settings

2007-05-19 Thread Arno Garrels
Fastream Technologies wrote: > In my copy of BCB2006, if I do NOT remove the unit winsock2, then the > compiler does NOT install the entire project package. Sorry, that's not true, I tested this several times in BCB2006. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/t

Re: [twsocket] HTTPCli and proxy settings

2007-05-19 Thread Arno Garrels
rce code, or new and old versions are scrambled. BTW: The TFtpServer requires OverbyteIcsWinsock2.pas. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Could you try with these as well? > > Best Regards, > > SZ > > ----- Original Mess

Re: [twsocket] ICS v5 compatibility / WndProc handling

2007-06-02 Thread Arno Garrels
Looks usefull, though not tested yet. Francois, what do you think? Primož Gabrijelcic wrote: > Hello everybody (and especially Francois). > > I have this legacy code that was written using ICS v5. Deep inside > some > message processing (specifically RAS handling) is done in overridden > WndPro

Re: [twsocket] ICS v5 compatibility / WndProc handling

2007-06-02 Thread Arno Garrels
Primož Gabrijelcic wrote: > It works fine in our applications. My vote is pro, depends on Francois, he's the (busy) boss ;-) > > Primoz > > -Original Message- > From: [EMAIL PROTECTED] [mailto:twsocket- > [EMAIL PROTECTED] On > Behalf Of Arno Garrels >

Re: [twsocket] ICS v5 compatibility / WndProc handling

2007-06-03 Thread Arno Garrels
var Handled : Boolean) of object; -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Primoz > > -Original Message- > From: [EMAIL PROTECTED] [mailto:twsocket- > [EMAIL PROTECTED] On > Behalf Of Arno Garrels > Sent: Satur

Re: [twsocket] Which threaded server sample to use

2007-06-04 Thread Arno Garrels
much harder to code and only suggested when scalability is required that is when plenty of concurrent clients (beyond thousand) need to be served on multi-processor servers. Anyway tell us why do you think you need multiple threads for network communication. -- Arno Garrels [TeamICS] http://www.overb

Re: [twsocket] socket connexion over HTTP/80

2007-06-08 Thread Arno Garrels
st need to write the byte "HTTP1/1" > in > front of stream... maybe... Port 80 is just a port number and in the first place the port number has nothing to do with the protocol a server listening on that port uses. The correct commands necessary to traverse a HTTP proxy can be found

Re: [twsocket] [FTP] Recursive upload?

2007-06-10 Thread Arno Garrels
There's also a component available based on ICS that makes such transfer jobs very easy: http://www.magsys.co.uk/delphi/magxfer.asp If you contributed to ICS-SSL this component can be downloaded with full source from the ICS-SSL website for free. -- Arno Garrels [TeamICS] http://www.overby

Re: [twsocket] Which threaded server sample to use

2007-06-17 Thread Arno Garrels
o non-blocking sockets are implemented in Windows by additional threads internally. There's no way around threads when you want non-blocking behaviour, however that's in indeed not our problem, the OS provides such nice features so let's use them. -- Arno Garrels [TeamICS] http://www.

Re: [twsocket] Web-server test

2007-06-20 Thread Arno Garrels
S.Korotky wrote: > Could someone recommend a decent web-server test tool, Have look at: http://en.wikipedia.org/wiki/LoadRunner I was told it was the best. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSoc

Re: [twsocket] New ICS-V6 and ICS-SSL-V6 available

2007-06-25 Thread Arno Garrels
sections of: OverbyteIcsWndControl.pas, OverbyteIcsWSocket.pas, OverbyteIcsFtpSrv.pas. SSL.. OverbyteIcsWSocketImplSsl.inc and the new SslHandShakeDone handler in the HTTPS-demo. Supports latest OpenSSL libraries, wildcard certificates etc. Arno Garrels > > - Original Message - > Fr

Re: [twsocket] New ICS-V6 and ICS-SSL-V6 available

2007-06-25 Thread Arno Garrels
Fastream Technologies wrote: > Where can we get the compiled latest OpenSSL DLLs? http://www.slproweb.com/products/Win32OpenSSL.html Their installer writes then to the system32 directory. > > Best Regards, > > SZ > > - Original Message - > From: "Ar

Re: [twsocket] New ICS-V6 and ICS-SSL-V6 available

2007-06-25 Thread Arno Garrels
Fastream Technologies wrote: > The site is very slow. Look at the ICS-SSL-site there's a download link for regestered users as well. > > - Original Message - > From: "Arno Garrels" <[EMAIL PROTECTED]> > To: "ICS support mailing" >

Re: [twsocket] New ICS-V6 and ICS-SSL-V6 available

2007-06-25 Thread Arno Garrels
he the new HttpsTst demo, I think the new comments make it easy to understand. If not I don't know how I to express it more clearly ;-( Please post follow ups to the SSL-Group. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Best Regards, > > SZ >

Re: [twsocket] New ICS-V6andICS-SSL-V6availableBCBCOMPATIBILITYWARNING

2007-06-27 Thread Arno Garrels
Fastream Technologies wrote: > Hello, > > Ok when I compare the overbyteicswsocket.hpp's of the working old and > non-working new v6, I see some differences: > > Working: > virtual int __fastcall Send(Overbyteicswsockbuf::TWSocketData Data, > int Len)/* overload */; > virtual int __fastcall SendT

[twsocket] Typedef TSocket - ICS-oldies

2007-06-30 Thread Arno Garrels
g from Delphi 4 } TSocket = u_int; {$ENDIF} I may be missing something, however TSocket is defined in my D4-WinSock.pas as u_int as it is in D7 thru D2007, so I do not understand why we need to define it once more ? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamic

Re: [twsocket] Typedef TSocket - ICS-oldies

2007-06-30 Thread Arno Garrels
oz [who submitted that change] > > -Original Message- > From: [EMAIL PROTECTED] [mailto:twsocket- > [EMAIL PROTECTED] On Behalf Of Arno Garrels > Sent: Saturday, June 30, 2007 7:44 PM > To: 'ICS support mailing' > Subject: [twsocket] Typedef TSocket - ICS-oldies > &g

Re: [twsocket] Typedef TSocket - ICS-oldies

2007-07-01 Thread Arno Garrels
Maurizio Lotauro wrote: > Scrive Arno Garrels <[EMAIL PROTECTED]>: > >> Primo¾ Gabrijelèiè wrote: >>> I don't remember what that was all about. Probably pre-D4 stuff? >> >> Hmm, I think it can be removed but not for sure, that's why I'

Re: [twsocket] V6 BCB compatibility (subject changed)

2007-07-01 Thread Arno Garrels
: Integer) : Integer; virtual; Same in the implemention. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Fastream Technologies wrote: > - Original Message ----- > From: "Arno Garrels" <[EMAIL PROTECTED]> > To: "ICS support mailing"

Re: [twsocket] TWSocket delay

2007-07-02 Thread Arno Garrels
there I s away to minimize buffering therefore > minimizing the delay in sending data . Yes, there's a property BufferedByteCount, skip a frame if buffered data exceed some custom limit. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Protocol is TCP by

Re: [twsocket] Should the http header end event be triggered on astarting session?

2007-07-04 Thread Arno Garrels
> The GetHeaderLineNext is called from SocketSessionConnected. It is not called from there but placeholder FNext is assigned with function GetHeaderLineNext(). FNext is the called later from SocketDataAvailable. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.h

Re: [twsocket] Bug fix for HttpProt.pas

2007-07-09 Thread Arno Garrels
nstructor is a good place to set the default value from TWSocket, isn't it? constructor THttpCli.Create(Aowner:TComponent); begin .. CreateSocket; .. FSocksLevel := FCtrlSocket.SocksLevel; .. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To un

Re: [twsocket] OnSessionConnected not fired

2007-07-11 Thread Arno Garrels
en TWSocket is listening but OnSessionAvailable. This and other properties are available only since TWSocketServer is derived from TWSocket. > I have to know when server is ready to receive IP queries. > How could I do without this event ? Not sure what you mean, in order to check peer's IP u

Re: [twsocket] OnSessionConnected not fired

2007-07-11 Thread Arno Garrels
in a try-except block. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels >> Sent: Wednesday, July 11, 2007 4:54 PM >> T

Re: [twsocket] problem when upgrading ICS

2007-07-11 Thread Arno Garrels
h v5 and v6. property Client[nIndex : Integer] : TFtpCtrlSocket read GetClient; What's the error when you try to build the package? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > I hope anyone can

[twsocket] Bug and fix - THtmlSmtpCli

2007-07-11 Thread Arno Garrels
} end; -- 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

Re: [twsocket] NOFORMS

2007-07-16 Thread Arno Garrels
n't need it, but it was not thread-safe in V5! Don't do that. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Paul > > - Original Message - > From: "Francois Piette" <[EMAIL PROTECTED]> > To: "ICS support maili

Re: [twsocket] NOFORMS

2007-07-16 Thread Arno Garrels
use the Forms unit, no matter whether Forms is in the uses clause or not. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Paul > > - Original Message - > From: "Arno Garrels" <[EMAIL PROTECTED]> > To: "ICS support

Re: [twsocket] birthday

2007-07-20 Thread Arno Garrels
Wilfried Mestdagh wrote: > Hello, > > A happy birthday for you Francois ! Best wishes from me as well, hasn't ICS a anniversary this year as well? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocke

Re: [twsocket] Httpclient

2007-07-21 Thread Arno Garrels
ust looks at the header and sending this back as the result? > Right or wrong? Is there anyone that do have a code snippet that > actually tells me the exactly weight of all the content that the > httpclient downloaded? I do not know. Be creative it's not too difficult. -- Arno Gar

<    1   2   3   4   5   6   7   8   9   10   >