Re: [twsocket] THttpWebserver and php

2011-03-01 Thread A Drent
tnx, albert - Original Message - From: "RTT" To: "ICS support mailing" Sent: Tuesday, March 01, 2011 4:29 PM Subject: Re: [twsocket] THttpWebserver and php On 01-03-2011 10:06, A Drent wrote: I've looked into the usermade page, but which sample do you refer to? HTTPCLIEXAMPLE.ZIP ?

Re: [twsocket] FTP proxy always passive mode?

2011-03-01 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: >> I think so as well, only it might be a breaking change from the POV >> of component users? > > Making passive mode the default might be safer, since this works more > often than non-passive. Would not effect any application that sets > the mode spec

Re: [twsocket] THttpWebserver and php

2011-03-01 Thread RTT
On 01-03-2011 10:06, A Drent wrote: I've looked into the usermade page, but which sample do you refer to? HTTPCLIEXAMPLE.ZIP ? ICS_WebInterface.zip This one may help too http://users.telenet.be/ws36637/ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://list

Re: [twsocket] FTP proxy always passive mode?

2011-03-01 Thread Angus Robertson - Magenta Systems Ltd
> I think so as well, only it might be a breaking change from the POV > of component users? Making passive mode the default might be safer, since this works more often than non-passive. Would not effect any application that sets the mode specifically. Angus -- To unsubscribe or change your s

Re: [twsocket] How to set in GSSLEAY_DLL_Name under BCB2010?

2011-03-01 Thread Zvone
>GSSLEAY_DLL_Name = "SSLEAY32.DLL"; >doesn't seem to work! well it should. could be a problem with installation? maybe you're missing some of the #pragma's in the cpp file? -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listi

Re: [twsocket] udp packet loss

2011-03-01 Thread Francois PIETTE
Is it right? This is like I do in my real application. IMO it isn't. If sending full speed, forget the timer and only use the event. When using the timer, check a flag you set in OnDataSent. if falg not set, do not send anything, just exit the timer event handler, data will be sent on next ti

Re: [twsocket] FTP proxy always passive mode?

2011-03-01 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: >> the TFtpClient always sets passive mode internally with >> native FTP-proxy connections, this is not correct IMO. > > I've got no problem in that being changed. I thought SSL set passive > mode automatically but that does not happen according to my

Re: [twsocket] HttpNoBasicAuth

2011-03-01 Thread Arno Garrels
Fastream Technologies wrote: > On Tue, Mar 1, 2011 at 1:07 PM, Arno Garrels > wrote: > >> Fastream Technologies wrote: >> During my tests last week it did not trigger OnRequestDone on relocations with StatusCode = 0 any more and that worked thru a proxy as well with different typ

[twsocket] Never trust proxy servers :)

2011-03-01 Thread Arno Garrels
TFtpCli <-> FTP 3proxy (NLST active) --- 220 Ready USER ics@192.168.178.200 331 ok PASS ics 230 Logged on PORT 192,168,178,200,5,165 200 OK NLST 503 Bad sequence of commands. FTP 3proxy <-> FTP server (NLST active) --- 220 FileZilla S

Re: [twsocket] Rather strange HTTP/SSL/POST issue

2011-03-01 Thread Fastream Technologies
Not sure why it did not work with POST (sync) but it finally worked with async! I just modified it as, try { HTTPClient->PostASync(); // sync } catch(Exception &e) { } while(!reallyDone) // for SSL to work well! Forms::Application->ProcessMessages();

Re: [twsocket] HttpNoBasicAuth

2011-03-01 Thread Fastream Technologies
On Tue, Mar 1, 2011 at 1:07 PM, Arno Garrels wrote: > Fastream Technologies wrote: > > >> During my tests last week it did not trigger OnRequestDone on > >> relocations with StatusCode = 0 any more and that worked thru a > >> proxy as well with different types of authentication. > >> www.microsof

Re: [twsocket] HttpNoBasicAuth

2011-03-01 Thread Arno Garrels
Fastream Technologies wrote: >> During my tests last week it did not trigger OnRequestDone on >> relocations with StatusCode = 0 any more and that worked thru a >> proxy as well with different types of authentication. >> www.microsoft.de is good for testing relocations (3 or 4) and you >> should s

Re: [twsocket] THttpWebserver and php

2011-03-01 Thread A Drent
I've looked into the usermade page, but which sample do you refer to? HTTPCLIEXAMPLE.ZIP ? regards Albert - Original Message - From: "Arno Garrels" To: "ICS support mailing" Sent: Monday, February 28, 2011 10:46 PM Subject: Re: [twsocket] THttpWebserver and php Fastream Technolog

Re: [twsocket] FTP proxy always passive mode?

2011-03-01 Thread Angus Robertson - Magenta Systems Ltd
> the TFtpClient always sets passive mode internally with > native FTP-proxy connections, this is not correct IMO. I've got no problem in that being changed. I thought SSL set passive mode automatically but that does not happen according to my recent SSL testing. Let the user choose. Angus -

Re: [twsocket] HttpNoBasicAuth

2011-03-01 Thread Fastream Technologies
On Tue, Mar 1, 2011 at 12:43 PM, Arno Garrels wrote: > > - Original Message - > From: "Frans van Daalen" > To: "ICS support mailing" > Sent: Tuesday, March 01, 2011 10:22 AM > Subject: Re: [twsocket] HttpNoBasicAuth > > > it's time for a rewrite from > scratch IMO. > >>> And g

Re: [twsocket] HttpNoBasicAuth

2011-03-01 Thread Arno Garrels
- Original Message - From: "Frans van Daalen" To: "ICS support mailing" Sent: Tuesday, March 01, 2011 10:22 AM Subject: Re: [twsocket] HttpNoBasicAuth it's time for a rewrite from scratch IMO. >>> And give it a different name, to bypass the "no brake early code" rule, >>> o

[twsocket] FTP proxy always passive mode?

2011-03-01 Thread Arno Garrels
Hi, the TFtpClient always sets passive mode internally with native FTP-proxy connections, this is not correct IMO. OpenBSD ftp-proxy claims to support active and passive: https://calomel.org/ftp_proxy.html Also Filezilla client enforces PASV only with SOCKS and HTTP tunnel. -- Atno Garrels

Re: [twsocket] HttpCli / Async in thread problems --- Tryng to trace

2011-03-01 Thread Frans van Daalen
Arno Garrels wrote: Frans van Daalen wrote: One was using webmarshal and the other ISA. But i'm not behind a proxy and also still keep getting the "HTTP component is busy" error message when using the async get. It still doesn't work probably so don't send it to your customer yet. I'm workin

Re: [twsocket] HttpNoBasicAuth

2011-03-01 Thread Frans van Daalen
it's time for a rewrite from scratch IMO. And give it a different name, to bypass the "no brake early code" rule, or some of the annoyances will have to remain. Or start a new branch of renewed components. And, IMHO, if technically possible, the THttpCli should mix HTTP and HTTPS, and handle in

Re: [twsocket] udp packet loss

2011-03-01 Thread emanuele bizzarri
Hi Francois, hi all > I cannot reproduce the packet loss on localhost. Strange. I always lose some packets on localhost (at least setting Interval=0 on the client). > I can reproduce on different computers, but I found a flaw in your > design: remember TWSocket use non blocking. SendTo will fail

[twsocket] How to set in GSSLEAY_DLL_Name under BCB2010?

2011-03-01 Thread Fastream Technologies
Hello, GSSLEAY_DLL_Name = "SSLEAY32.DLL"; doesn't seem to work! Regards, SZ -- 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

Re: [twsocket] Strange UDP behaviour

2011-03-01 Thread Francois PIETTE
Hi Éric, Interesting problem. IMO you are right, it is an issue with Windows TCP/IP stack. I suggest you post a message in a Microsoft Windows Server TechNet newsgroup (http://social.technet.microsoft.com/Forums/en-US/category/windowsserver). -- francois.pie...@overbyte.be The author of the